build.gradle 879 B

12345678910111213141516171819202122232425262728293031
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. repositories {
  4. //jcenter()
  5. //mavenCentral()
  6. maven { url "https://maven.aliyun.com/repository/public" }
  7. maven { url "https://maven.aliyun.com/repository/google" }
  8. //maven { url 'https://maven.google.com' }
  9. //google()
  10. }
  11. dependencies {
  12. classpath 'com.android.tools.build:gradle:3.4.2'
  13. classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
  14. }
  15. }
  16. allprojects {
  17. repositories {
  18. //jcenter()
  19. //mavenCentral()
  20. maven { url "https://maven.aliyun.com/repository/public" }
  21. maven { url "https://maven.aliyun.com/repository/google" }
  22. maven { url "https://jitpack.io" }
  23. //google()
  24. }
  25. }
  26. task clean(type: Delete) {
  27. delete rootProject.buildDir
  28. }