build.gradle 535 B

12345678910111213141516171819202122
  1. allprojects {
  2. repositories {
  3. maven { url 'https://maven.aliyun.com/repository/google' }
  4. maven { url 'https://maven.aliyun.com/repository/central' }
  5. maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
  6. google()
  7. mavenCentral()
  8. }
  9. }
  10. rootProject.buildDir = "../build"
  11. subprojects {
  12. project.buildDir = "${rootProject.buildDir}/${project.name}"
  13. }
  14. subprojects {
  15. project.evaluationDependsOn(":app")
  16. }
  17. tasks.register("clean", Delete) {
  18. delete rootProject.buildDir
  19. }