build.gradle 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. repositories {
  4. maven { url 'https://maven.aliyun.com/repository/public' }
  5. maven { url 'https://maven.aliyun.com/repository/google' }
  6. maven { url 'https://maven.aliyun.com/repository/jcenter' }
  7. maven { url 'https://jitpack.io' }
  8. mavenLocal()
  9. google()
  10. jcenter()
  11. }
  12. dependencies {
  13. classpath "com.android.tools.build:gradle:4.1.1"
  14. // classpath "com.android.tools.build:gradle:3.4.3"
  15. // NOTE: Do not place your application dependencies here; they belong
  16. classpath "com.github.kezong:fat-aar:1.3.8"
  17. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.72"
  18. }
  19. }
  20. allprojects {
  21. repositories {
  22. maven { url 'https://maven.aliyun.com/repository/public' }
  23. maven { url 'https://maven.aliyun.com/repository/google' }
  24. maven { url 'https://maven.aliyun.com/repository/jcenter' }
  25. maven { url 'https://jitpack.io' }
  26. mavenLocal()
  27. google()
  28. jcenter()
  29. }
  30. }
  31. task clean(type: Delete) {
  32. delete rootProject.buildDir
  33. }