diff --git a/CHANGELOG.md b/CHANGELOG.md index 117c8f4..e842ed4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ ### Changed +- Update Kover configuration - Dependencies - upgrade `org.jetbrains.intellij` to `1.17.3` - Dependencies - upgrade `org.jetbrains.kotlin.jvm` to `2.0.0` - Dependencies - upgrade `org.jetbrains.kotlinx.kover` to `0.8.0` diff --git a/build.gradle.kts b/build.gradle.kts index 7cc0417..a1bdf30 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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 = "" val 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") }