Skip to content

Commit 5198676

Browse files
committed
chore: switch to kover from jacoco
1 parent c2f687f commit 5198676

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

build.gradle.kts

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,13 @@ group = "com.github.monosoul"
99
plugins {
1010
id("org.jetbrains.intellij") version "1.10.0"
1111
kotlin("jvm") version "1.7.22"
12-
jacoco
12+
id("org.jetbrains.kotlinx.kover") version "0.6.1"
13+
}
14+
15+
kover {
16+
xmlReport {
17+
onCheck.set(true)
18+
}
1319
}
1420

1521
intellij {
@@ -37,14 +43,6 @@ dependencies {
3743
}
3844

3945
tasks {
40-
val jacocoTestReport = "jacocoTestReport"(JacocoReport::class) {
41-
reports {
42-
xml.required.set(true)
43-
html.required.set(false)
44-
}
45-
shouldRunAfter(test)
46-
}
47-
4846
publishPlugin {
4947
token.set(
5048
project.findProperty("intellij.publish.token") as String?
@@ -70,10 +68,6 @@ tasks {
7068
}
7169
}
7270

73-
check {
74-
dependsOn(jacocoTestReport)
75-
}
76-
7771
withType<KotlinCompile> {
7872
kotlinOptions {
7973
jvmTarget = "17"

0 commit comments

Comments
 (0)