Skip to content

Commit

Permalink
Kover 0.8.3.
Browse files Browse the repository at this point in the history
Signed-off-by: Kenneth J. Shackleton <[email protected]>
  • Loading branch information
kennethshackleton committed Aug 27, 2024
1 parent 519361c commit 926e9f9
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 30 deletions.
30 changes: 12 additions & 18 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -228,24 +228,18 @@ allprojects {
}
}

koverReport {
defaults {
filters {
excludes {
classes("*Test*")
packages(listOf(
"*.benchmarks",
"*_generated"
))
}
}
verify {
rule("Minimal coverage") {
bound {
minValue = 96
aggregation = AggregationType.COVERED_PERCENTAGE
}
}
kover.reports {
filters.excludes {
classes("*Test*")
packages(listOf(
"*.benchmarks",
"*_generated"
))
}
verify.rule("Minimal coverage") {
bound {
minValue = 96
aggregationForGroup = AggregationType.COVERED_PERCENTAGE
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ cash-licensee = { id = "app.cash.licensee", version = "1.6.0" }
detekt = { id = "io.gitlab.arturbosch.detekt", version = "1.22.0" }
dokka = { id = "org.jetbrains.dokka", version = "1.9.20" }
ideaExt = { id = "org.jetbrains.gradle.plugin.idea-ext", version = "1.1.7" }
kover = { id = "org.jetbrains.kotlinx.kover", version = "0.7.6" }
kover = { id = "org.jetbrains.kotlinx.kover", version = "0.8.3" }
ksp = { id = "com.google.devtools.ksp", version = "2.0.20-1.0.24" }
ktlint = { id = "org.jlleitschuh.gradle.ktlint", version = "11.5.0" }
nexus = { id = "io.github.gradle-nexus.publish-plugin", version = "1.3.0" }
Expand Down
17 changes: 6 additions & 11 deletions selekt-android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,12 @@ dependencies {
testRuntimeOnly(libs.robolectric.android.all)
}

koverReport {
defaults {
mergeWith("debug")
}
androidReports("debug") {
filters {
excludes {
classes(
"*.BuildConfig"
)
}
kover.reports {
variant("debug") {
filters.excludes {
classes(
"*.BuildConfig"
)
}
}
}
Expand Down

0 comments on commit 926e9f9

Please sign in to comment.