Coverage reporting improvements
Some checks failed
SonarQube Scan / SonarQube Trigger (push) Failing after 8m48s

- add coverage to sonar
- coverage in domain and commonUI
This commit is contained in:
2025-10-12 14:11:25 +02:00
parent e5f840a873
commit 255a61cf56
3 changed files with 47 additions and 40 deletions

View File

@@ -1,4 +1,5 @@
plugins {
jacoco
alias(libs.plugins.kotlin.multiplatform)
alias(libs.plugins.android.library)
alias(libs.plugins.compose)
@@ -11,13 +12,6 @@ kotlin {
jvm()
androidTarget()
// @OptIn(ExperimentalWasmDsl::class)
// wasmJs {
// moduleName = "yaep-commonUI"
// browser()
// binaries.executable()
// }
sourceSets {
commonMain {
dependencies {
@@ -61,6 +55,19 @@ android {
buildFeatures {
compose = true
}
sourceSets {
getByName("test") {
resources.srcDirs("src/commonTest/resources")
}
}
buildTypes {
debug {
enableAndroidTestCoverage = true
enableUnitTestCoverage = true
}
}
}
compose.resources {