build.gradle 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. apply from: "config.gradle"
  2. buildscript {
  3. repositories {
  4. google()
  5. mavenCentral()
  6. maven { url 'https://jitpack.io' }
  7. maven {
  8. url "https://maven.aliyun.com/nexus/content/repositories/releases"
  9. }
  10. // maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
  11. // maven { url 'https://maven.aliyun.com/repository/public/' }
  12. // maven { url 'https://maven.aliyun.com/repository/google/' }
  13. maven { url 'https://maven.aliyun.com/repository/jcenter/' }
  14. // maven { url 'https://maven.aliyun.com/repository/central/' }
  15. }
  16. dependencies {
  17. classpath 'com.android.tools.build:gradle:4.2.0'
  18. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.31"
  19. }
  20. }
  21. allprojects {
  22. repositories {
  23. google()
  24. mavenCentral()
  25. maven { url 'https://jitpack.io' }
  26. maven {
  27. url "https://maven.aliyun.com/nexus/content/repositories/releases"
  28. }
  29. maven { url 'https://maven.aliyun.com/repository/jcenter/' }
  30. }
  31. }
  32. task clean(type: Delete) {
  33. delete rootProject.buildDir
  34. }