build.gradle 801 B

123456789101112131415161718192021222324252627282930
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. repositories {
  4. maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
  5. google()
  6. mavenCentral()
  7. }
  8. dependencies {
  9. classpath "com.android.tools.build:gradle:4.2.2"
  10. classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21'
  11. classpath "com.alibaba:arouter-register:1.0.2"
  12. }
  13. }
  14. allprojects {
  15. repositories {
  16. flatDir {
  17. dirs 'libs'
  18. }
  19. google()
  20. mavenCentral()
  21. jcenter()
  22. maven { url 'https://www.jitpack.io' }
  23. maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
  24. }
  25. }
  26. task clean(type: Delete) {
  27. delete rootProject.buildDir
  28. }