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.
 
 
 

46 lines
885 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. // NOTE: Do not place your application dependencies here; they belong
  10. // in the individual module build.gradle files
  11. }
  12. }
  13. allprojects {
  14. repositories {
  15. google()
  16. jcenter()
  17. maven { url "https://jitpack.io" }
  18. }
  19. }
  20. task clean(type: Delete) {
  21. delete rootProject.buildDir
  22. }
  23. ext { // 统一版本入口
  24. //App版本号
  25. versionCode = 1
  26. versionName = "1.0.0"
  27. // 支持Android版本
  28. buildToolsVersion = "28.0.3"
  29. minSdkVersion = 23
  30. targetSdkVersion = 28
  31. compileSdkVersion = 28
  32. // 支持包
  33. supportVersion = "28.0.0"
  34. butterknife = "8.8.1"
  35. }