build.gradle 437 B

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