build.gradle 837 B

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