build.gradle 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. apply from: "config.gradle"
  3. buildscript {
  4. repositories {
  5. maven { url 'https://jitpack.io' }
  6. maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
  7. maven { url 'https://maven.aliyun.com/nexus/content/repositories/jcenter' }
  8. maven { url 'https://maven.aliyun.com/repository/google' }
  9. google()
  10. jcenter()
  11. }
  12. dependencies {
  13. classpath 'com.android.tools.build:gradle:7.1.1'
  14. // NOTE: Do not place your application dependencies here; they belong
  15. // in the individual module build.gradle files
  16. }
  17. }
  18. allprojects {
  19. repositories {
  20. google()
  21. jcenter()
  22. mavenCentral()
  23. maven { url 'https://jitpack.io' }
  24. maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
  25. maven { url 'https://maven.aliyun.com/nexus/content/repositories/jcenter' }
  26. maven { url 'https://maven.aliyun.com/repository/google' }
  27. }
  28. }
  29. task clean(type: Delete) {
  30. delete rootProject.buildDir
  31. }