halkyon/apps/train/halkyon_train_flutter/android/build.gradle.kts

30 lines
853 B
Kotlin
Raw Normal View History

allprojects {
repositories {
google()
mavenCentral()
// Polar's BLE SDK for the Loop (ADR 0030, D34), which Polar publishes
// through JitPack alone: asked for Polar's package and nothing else.
exclusiveContent {
forRepository { maven("https://jitpack.io") }
filter { includeGroup("com.github.polarofficial") }
}
}
}
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)
}