build.gradle 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  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/repositories/releases/' }
  5. maven { url 'https://developer.huawei.com/repo/' }
  6. maven { url 'https://jitpack.io' }
  7. maven { url 'https://repo1.maven.org/maven2/' }
  8. jcenter()
  9. mavenCentral()
  10. google()
  11. }
  12. dependencies {
  13. classpath 'com.android.tools.build:gradle:3.4.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. maven { url 'http://maven.aliyun.com/nexus/content/repositories/releases/' }
  21. maven { url 'https://developer.huawei.com/repo/' }
  22. maven { url 'https://jitpack.io' }
  23. maven { url 'https://repo1.maven.org/maven2/' }
  24. jcenter()
  25. mavenCentral()
  26. google()
  27. }
  28. }
  29. task clean(type: Delete) {
  30. delete rootProject.buildDir
  31. }