Update Kover configuration

This commit is contained in:
Jakub Chrzanowski 2024-05-30 09:27:41 +02:00
parent 07ed8ab11e
commit c46eed131b
No known key found for this signature in database
GPG Key ID: C39095BFD769862E
2 changed files with 8 additions and 5 deletions

View File

@ -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`

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")
}