Skip to content

Commit 1e06da0

Browse files
committed
feat(build): add kover plugin for code coverage
Add the kover plugin to the build.gradle.kts file to enable code coverage for multiple projects. Update the kover version in the gradle/libs.versions.toml file to 0.7.5.
1 parent b19f3bb commit 1e06da0

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

build.gradle.kts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ allprojects {
103103
plugin("idea")
104104
plugin("kotlin")
105105
plugin("org.jetbrains.intellij")
106+
plugin("org.jetbrains.kotlinx.kover")
106107
}
107108

108109
repositories {
@@ -377,6 +378,16 @@ project(":") {
377378
testImplementation("io.kotest:kotest-assertions-core:5.7.2")
378379
testImplementation("junit:junit:4.13.2")
379380
testRuntimeOnly("org.junit.vintage:junit-vintage-engine:5.9.3")
381+
382+
kover(project(":"))
383+
kover(project(":cpp"))
384+
kover(project(":csharp"))
385+
kover(project(":goland"))
386+
kover(project(":java"))
387+
kover(project(":javascript"))
388+
kover(project(":kotlin"))
389+
kover(project(":pycharm"))
390+
kover(project(":rust"))
380391
}
381392

382393
task("resolveDependencies") {

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ kotlin = "1.8.10"
77
changelog = "2.1.2"
88
gradleIntelliJPlugin = "1.15.0"
99
qodana = "0.1.13"
10-
kover = "0.6.1"
10+
kover = "0.7.5"
1111

1212
chapi = "2.1.2"
1313

0 commit comments

Comments
 (0)