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.

48 lines
984 B

  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.0.0'
  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 = "28.0.3"
  30. minSdkVersion = 23
  31. targetSdkVersion = 28
  32. compileSdkVersion = 28
  33. // 支持包
  34. supportVersion = "28.0.0"
  35. //butterknife = "8.8.1"
  36. butterknife = "10.0.0"
  37. }