Skip to content

Commit aa0cfd2

Browse files
committed
Switching from Jacocolog to Kover
gradle-jacoco-log didn't get an update for over a year now. https://gitlab.com/barfuin/gradle-jacoco-log Kover seems to be a good Jacoco alternative for Kotlin. With `koverLog` its Gradle plugin brings a dedicated task with it for logging the line coverage.
1 parent 321e534 commit aa0cfd2

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/gradle-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ jobs:
1616
- name: Setup Gradle
1717
uses: gradle/actions/setup-gradle@v4
1818
- name: Build with Gradle
19-
run: ./gradlew build
19+
run: ./gradlew build koverLog

build.gradle.kts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
22
kotlin("jvm") version "2.2.0"
33
java
4-
// id("org.barfuin.gradle.jacocolog") version "3.1.0"
4+
id("org.jetbrains.kotlinx.kover") version "0.9.1"
55
}
66

77
repositories {
@@ -25,6 +25,5 @@ tasks {
2525
}
2626
named<Test>("test") {
2727
useJUnitPlatform()
28-
// finalizedBy(jacocoLogTestCoverage)
2928
}
3029
}

0 commit comments

Comments
 (0)