build.gradle 322 B

123456789101112131415161718
  1. allprojects {
  2. repositories {
  3. google()
  4. mavenCentral()
  5. }
  6. }
  7. rootProject.buildDir = "../build"
  8. subprojects {
  9. project.buildDir = "${rootProject.buildDir}/${project.name}"
  10. }
  11. subprojects {
  12. project.evaluationDependsOn(":app")
  13. }
  14. tasks.register("clean", Delete) {
  15. delete rootProject.buildDir
  16. }