build.gradle 802 B

123456789101112131415161718192021222324252627282930313233343536
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext.kotlin_version = '1.4.20'
  4. repositories {
  5. google()
  6. jcenter()
  7. }
  8. dependencies {
  9. classpath 'com.android.tools.build:gradle:3.6.1'
  10. classpath 'com.hujiang.aspectjx:gradle-android-plugin-aspectjx:2.0.10'
  11. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  12. }
  13. }
  14. allprojects {
  15. repositories {
  16. google()
  17. jcenter()
  18. }
  19. }
  20. task clean(type: Delete) {
  21. delete rootProject.buildDir
  22. }
  23. // 统一编译版本
  24. ext.versions = [
  25. // Project
  26. minSdk : 24,
  27. compileSdk : 29,
  28. targetSdk : 29,
  29. buildTools : '29.0.2',
  30. ]