Skip to content

Commit cd2fa15

Browse files
committed
return kover to the project
1 parent 5d66789 commit cd2fa15

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

build.gradle.kts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ plugins {
66
alias(libs.plugins.kotlin) // Kotlin support
77
alias(libs.plugins.intelliJPlatform) // IntelliJ Platform Gradle Plugin
88
alias(libs.plugins.changelog) // Gradle Changelog Plugin
9+
alias(libs.plugins.kover) // Gradle Kover Plugin
910
}
1011

1112
group = providers.gradleProperty("pluginGroup").get()
@@ -85,6 +86,17 @@ changelog {
8586
repositoryUrl = providers.gradleProperty("pluginRepositoryUrl")
8687
}
8788

89+
// Configure Gradle Kover Plugin - read more: https://github.com/Kotlin/kotlinx-kover#configuration
90+
kover {
91+
reports {
92+
total {
93+
xml {
94+
onCheck = true
95+
}
96+
}
97+
}
98+
}
99+
88100
tasks {
89101
wrapper {
90102
gradleVersion = providers.gradleProperty("gradleVersion").get()

gradle/libs.versions.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ opentest4j = "1.3.0"
77
changelog = "2.3.0"
88
intelliJPlatform = "2.7.0"
99
kotlin = "2.2.0"
10+
kover = "0.9.1"
1011

1112
[libraries]
1213
junit = { group = "junit", name = "junit", version.ref = "junit" }
@@ -16,3 +17,4 @@ opentest4j = { group = "org.opentest4j", name = "opentest4j", version.ref = "ope
1617
changelog = { id = "org.jetbrains.changelog", version.ref = "changelog" }
1718
intelliJPlatform = { id = "org.jetbrains.intellij.platform", version.ref = "intelliJPlatform" }
1819
kotlin = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
20+
kover = { id = "org.jetbrains.kotlinx.kover", version.ref = "kover" }

0 commit comments

Comments
 (0)