build.gradle 350 B

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