2023-10-18 17:04:02 +02:00
|
|
|
plugins {
|
|
|
|
id("com.android.library")
|
|
|
|
id("kotlin-android")
|
|
|
|
id("android-module-dependencies")
|
2023-10-20 10:49:54 +02:00
|
|
|
id("jacoco-module-dependencies")
|
2023-10-18 17:04:02 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
namespace = "info.nightscout.comboctl"
|
|
|
|
sourceSets.getByName("main") {
|
|
|
|
kotlin.srcDir("src/commonMain/kotlin")
|
|
|
|
kotlin.srcDir("src/androidMain/kotlin")
|
|
|
|
manifest.srcFile("src/androidMain/AndroidManifest.xml")
|
|
|
|
}
|
|
|
|
sourceSets.getByName("test") {
|
|
|
|
kotlin.srcDir("src/jvmTest/kotlin")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
|
|
|
api(Libs.KotlinX.coroutinesCore)
|
|
|
|
api(Libs.KotlinX.datetime)
|
|
|
|
api(Libs.AndroidX.core)
|
2023-10-20 10:49:54 +02:00
|
|
|
|
|
|
|
testImplementation(kotlin("test"))
|
2023-10-18 17:04:02 +02:00
|
|
|
testImplementation(Libs.kotlinTestRunner)
|
|
|
|
testRuntimeOnly(Libs.JUnit.jupiterEngine)
|
|
|
|
}
|