trcr/android/build.gradle.kts
2026-02-12 21:36:57 -08:00

28 lines
778 B
Kotlin

allprojects {
ext {
set("appCompatVersion", "1.7.1")
set("playServicesLocationVersion", "21.3.0")
}
repositories {
// background_geolocation
// [DEV] Sonatype SNAPSHOT url
maven(url = "https://central.sonatype.com/repository/maven-snapshots/")
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)
}