android小炒设备
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

build.gradle 984 B

1 year ago
1 year ago
1 year ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. repositories {
  4. google()
  5. jcenter()
  6. }
  7. dependencies {
  8. classpath 'com.android.tools.build:gradle:7.4.1'
  9. //classpath 'com.jakewharton:butterknife-gradle-plugin:8.8.1'
  10. // NOTE: Do not place your application dependencies here; they belong
  11. // in the individual module build.gradle files
  12. }
  13. }
  14. allprojects {
  15. repositories {
  16. google()
  17. jcenter()
  18. maven { url "https://jitpack.io" }
  19. }
  20. }
  21. task clean(type: Delete) {
  22. delete rootProject.buildDir
  23. }
  24. ext { // 统一版本入口
  25. //App版本号
  26. versionCode = 1
  27. versionName = "1.0.0"
  28. // 支持Android版本
  29. buildToolsVersion = "33.0.0"
  30. minSdkVersion = 23
  31. targetSdkVersion = 33
  32. compileSdkVersion = 33
  33. // 支持包
  34. supportVersion = "28.0.0"
  35. //butterknife = "8.8.1"
  36. butterknife = "10.0.0"
  37. }