Update Kover configuration

This commit is contained in:
Jakub Chrzanowski
2024-05-30 09:27:41 +02:00
parent 07ed8ab11e
commit c46eed131b
2 changed files with 8 additions and 5 deletions

View File

@@ -48,10 +48,12 @@ changelog {
}
// Configure Gradle Kover Plugin - read more: https://github.com/Kotlin/kotlinx-kover#configuration
koverReport {
defaults {
xml {
onCheck = true
kover {
reports {
total {
xml {
onCheck = true
}
}
}
}
@@ -71,7 +73,7 @@ tasks {
val start = "<!-- Plugin description -->"
val end = "<!-- Plugin description end -->"
with (it.lines()) {
with(it.lines()) {
if (!containsAll(listOf(start, end))) {
throw GradleException("Plugin description section not found in README.md:\n$start ... $end")
}