build.gradle 933 B

123456789101112131415161718192021222324252627282930313233343536373839
  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:3.5.2'
  9. classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.6'
  10. classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
  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. ]