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