Skip to content

Commit d164c56

Browse files
authored
Bump Kover version to 0.8.0-Beta2 (#293)
1 parent 20b6bd7 commit d164c56

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

build.gradle.kts

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
44
*/
55

6-
import kotlinx.kover.gradle.plugin.dsl.MetricType
6+
import kotlinx.kover.gradle.plugin.dsl.CoverageUnit
77
import org.jetbrains.kotlin.gradle.dsl.KotlinJsCompile
88
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
99
import org.jetbrains.kotlin.gradle.tasks.KotlinNativeCompile
@@ -54,13 +54,15 @@ dependencies {
5454
kover(project(":kotlinx-io-bytestring"))
5555
}
5656

57-
koverReport {
58-
verify {
59-
rule {
60-
minBound(95, MetricType.LINE)
57+
kover {
58+
reports {
59+
verify {
60+
rule {
61+
minBound(95, CoverageUnit.LINE)
6162

62-
// we allow lower branch coverage, because not all checks in the internal code lead to errors
63-
minBound(80, MetricType.BRANCH)
63+
// we allow lower branch coverage, because not all checks in the internal code lead to errors
64+
minBound(80, CoverageUnit.BRANCH)
65+
}
6466
}
6567
}
6668
}

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
kotlin = "1.9.22"
33
java = "8"
44
dokka = "1.9.20"
5-
kover = "0.7.5"
5+
kover = "0.8.0-Beta2"
66
bcv = "0.13.2"
77
benchmark = "0.4.10"
88
jmh = "1.37"

0 commit comments

Comments
 (0)