build.gradle 658 B

12345678910111213141516171819202122232425262728293031323334
  1. buildscript {
  2. ext.kotlin_version = '1.7.10'
  3. repositories {
  4. google()
  5. mavenCentral()
  6. }
  7. dependencies {
  8. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  9. classpath 'com.google.gms:google-services:4.3.8'
  10. classpath 'com.android.tools.build:gradle:7.3.0'
  11. }
  12. }
  13. allprojects {
  14. repositories {
  15. google()
  16. mavenCentral()
  17. }
  18. }
  19. rootProject.buildDir = '../build'
  20. subprojects {
  21. project.buildDir = "${rootProject.buildDir}/${project.name}"
  22. }
  23. subprojects {
  24. project.evaluationDependsOn(':app')
  25. }
  26. tasks.register("clean", Delete) {
  27. delete rootProject.buildDir
  28. }