build.gradle 464 B

123456789101112131415161718192021222324252627
  1. buildscript {
  2. repositories {
  3. google()
  4. mavenCentral()
  5. }
  6. dependencies {
  7. classpath 'com.android.tools.build:gradle:7.2.2'
  8. }
  9. }
  10. allprojects {
  11. repositories {
  12. google()
  13. mavenCentral()
  14. }
  15. }
  16. rootProject.buildDir = '../build'
  17. subprojects {
  18. project.buildDir = "${rootProject.buildDir}/${project.name}"
  19. project.evaluationDependsOn(':app')
  20. }
  21. task clean(type: Delete) {
  22. delete rootProject.buildDir
  23. }