build.gradle 462 B

123456789101112131415161718192021222324
  1. allprojects {
  2. gradle.projectsEvaluated {
  3. tasks.withType(JavaCompile) {
  4. options.compilerArgs << "-Xlint:unchecked"
  5. }
  6. }
  7. repositories {
  8. google()
  9. mavenCentral()
  10. }
  11. }
  12. rootProject.buildDir = '../build'
  13. subprojects {
  14. project.buildDir = "${rootProject.buildDir}/${project.name}"
  15. }
  16. subprojects {
  17. project.evaluationDependsOn(':app')
  18. }
  19. tasks.register("clean", Delete) {
  20. delete rootProject.buildDir
  21. }