2024-07-02 10:53:04 +02:00
|
|
|
plugins {
|
2025-10-12 00:23:17 +02:00
|
|
|
jacoco
|
2024-08-21 00:37:29 +02:00
|
|
|
alias(libs.plugins.kotlin.multiplatform)
|
|
|
|
|
alias(libs.plugins.android.library)
|
2024-07-02 10:53:04 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
kotlin {
|
2024-08-21 17:03:52 +02:00
|
|
|
jvmToolchain(libs.versions.jdk.get().toInt())
|
2024-08-21 00:37:29 +02:00
|
|
|
|
2024-08-21 17:03:52 +02:00
|
|
|
jvm()
|
|
|
|
|
androidTarget()
|
2024-08-21 00:37:29 +02:00
|
|
|
|
|
|
|
|
sourceSets {
|
2024-08-21 17:03:52 +02:00
|
|
|
commonMain {
|
|
|
|
|
dependencies {
|
2025-05-15 17:39:24 +02:00
|
|
|
implementation(libs.bundles.logging)
|
2024-08-21 17:03:52 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
commonTest {
|
2024-08-21 00:37:29 +02:00
|
|
|
dependencies {
|
|
|
|
|
implementation(libs.kotlin.test)
|
|
|
|
|
implementation(libs.atrium)
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-07-02 10:53:04 +02:00
|
|
|
}
|
2024-08-21 17:03:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
android {
|
|
|
|
|
namespace = "ch.dissem.yaep.domain"
|
2025-10-12 15:42:17 +02:00
|
|
|
compileSdk = libs.versions.android.compileSdk.get().toInt()
|
2025-06-02 20:56:12 +02:00
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
|
minSdk = libs.versions.android.minSdk.get().toInt()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
|
getByName("test") {
|
|
|
|
|
resources.srcDirs("src/commonTest/resources")
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-10-12 00:23:17 +02:00
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
|
debug {
|
|
|
|
|
enableAndroidTestCoverage = true
|
|
|
|
|
enableUnitTestCoverage = true
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|