trcr/android/build.gradle.kts

33 lines
974 B
Text
Raw Normal View History

2025-05-04 17:47:47 -07:00
allprojects {
2025-05-09 22:15:27 -07:00
ext {
set("appCompatVersion", "1.7.0")
set("playServicesLocationVersion", "21.3.0")
2025-05-14 07:37:27 -07:00
// Test logging crash
set("logbackVersion", "1.3.0-3")
set("slf4jVersion", "1.7.25")
2025-05-09 22:15:27 -07:00
}
2025-05-04 17:47:47 -07:00
repositories {
google()
mavenCentral()
2025-05-09 22:15:27 -07:00
// [required] background_geolocation
maven(url = "${project(":flutter_background_geolocation").projectDir}/libs")
// [required] background_fetch
maven(url = "${project(":background_fetch").projectDir}/libs")
2025-05-04 17:47:47 -07:00
}
}
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)
}