build.gradle 906 B

123456789101112131415161718192021222324252627282930
  1. buildscript {
  2. ext.kotlin_version = "1.5.20"
  3. repositories {
  4. maven { url 'https://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.7.10'
  11. classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
  12. classpath "com.alibaba:arouter-register:1.0.2"
  13. // NOTE: Do not place your application dependencies here; they belong
  14. // in the individual module build.gradle files
  15. }
  16. }
  17. allprojects {
  18. repositories {
  19. //google()
  20. // mavenCentral()
  21. // maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
  22. // jcenter()
  23. // maven { url 'https://www.jitpack.io' }
  24. }
  25. }
  26. task clean(type: Delete) {
  27. delete rootProject.buildDir
  28. }