build.gradle 905 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. //ext.kotlin_version = '1.3.72'
  4. repositories {
  5. google()
  6. jcenter()
  7. }
  8. dependencies {
  9. classpath 'com.android.tools.build:gradle:3.5.2'
  10. //classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  11. // NOTE: Do not place your application dependencies here; they belong
  12. // in the individual module build.gradle files
  13. }
  14. }
  15. allprojects {
  16. repositories {
  17. google()
  18. jcenter()
  19. maven { url "https://jitpack.io" }
  20. }
  21. }
  22. task clean(type: Delete) {
  23. delete rootProject.buildDir
  24. }
  25. // 统一编译版本
  26. ext.versions = [
  27. // Project
  28. minSdk : 21,
  29. compileSdk : 29,
  30. targetSdk : 29,
  31. buildTools : '29.0.2',
  32. ]