build.gradle 804 B

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