28 lines
746 B
Kotlin
28 lines
746 B
Kotlin
allprojects {
|
|
ext {
|
|
set("appCompatVersion", "1.7.1")
|
|
set("playServicesLocationVersion", "21.3.0")
|
|
}
|
|
configurations.configureEach {
|
|
resolutionStrategy.force("com.transistorsoft:tslocationmanager:4.0.15")
|
|
}
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
val newBuildDir: Directory = rootProject.layout.buildDirectory.dir("../../build").get()
|
|
rootProject.layout.buildDirectory.value(newBuildDir)
|
|
|
|
subprojects {
|
|
val newSubprojectBuildDir: Directory = newBuildDir.dir(project.name)
|
|
project.layout.buildDirectory.value(newSubprojectBuildDir)
|
|
}
|
|
subprojects {
|
|
project.evaluationDependsOn(":app")
|
|
}
|
|
|
|
tasks.register<Delete>("clean") {
|
|
delete(rootProject.layout.buildDirectory)
|
|
}
|