build.gradle 682 B

12345678910111213141516171819202122232425262728293031323334
  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.6.1'
  9. classpath 'com.hujiang.aspectjx:gradle-android-plugin-aspectjx:2.0.10'
  10. }
  11. }
  12. allprojects {
  13. repositories {
  14. google()
  15. jcenter()
  16. }
  17. }
  18. task clean(type: Delete) {
  19. delete rootProject.buildDir
  20. }
  21. // 统一编译版本
  22. ext.versions = [
  23. // Project
  24. minSdk : 24,
  25. compileSdk : 29,
  26. targetSdk : 29,
  27. buildTools : '29.0.2',
  28. ]