build.gradle 480 B

1234567891011121314151617181920212223242526272829
  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. }
  20. subprojects {
  21. project.evaluationDependsOn(':app')
  22. }
  23. task clean(type: Delete) {
  24. delete rootProject.buildDir
  25. }