build.gradle 902 B

1234567891011121314151617181920212223242526272829303132333435
  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:4.0.1"
  10. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  11. classpath 'com.hujiang.aspectjx:gradle-android-plugin-aspectjx:2.0.10'
  12. // NOTE: Do not place your application dependencies here; they belong
  13. // in the individual module build.gradle files
  14. }
  15. }
  16. allprojects {
  17. repositories {
  18. google()
  19. jcenter()
  20. }
  21. }
  22. task clean(type: Delete) {
  23. delete rootProject.buildDir
  24. }
  25. ext.versions = [
  26. // Project
  27. minSdk : 24,
  28. compileSdk : 29,
  29. targetSdk : 29,
  30. buildTools : '29.0.2',
  31. ]