File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 3
3
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
4
4
*/
5
5
6
- import kotlinx.kover.gradle.plugin.dsl.MetricType
6
+ import kotlinx.kover.gradle.plugin.dsl.CoverageUnit
7
7
import org.jetbrains.kotlin.gradle.dsl.KotlinJsCompile
8
8
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
9
9
import org.jetbrains.kotlin.gradle.tasks.KotlinNativeCompile
@@ -54,13 +54,15 @@ dependencies {
54
54
kover(project(" :kotlinx-io-bytestring" ))
55
55
}
56
56
57
- koverReport {
58
- verify {
59
- rule {
60
- minBound(95 , MetricType .LINE )
57
+ kover {
58
+ reports {
59
+ verify {
60
+ rule {
61
+ minBound(95 , CoverageUnit .LINE )
61
62
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
+ }
64
66
}
65
67
}
66
68
}
Original file line number Diff line number Diff line change 2
2
kotlin = " 1.9.22"
3
3
java = " 8"
4
4
dokka = " 1.9.20"
5
- kover = " 0.7.5 "
5
+ kover = " 0.8.0-Beta2 "
6
6
bcv = " 0.13.2"
7
7
benchmark = " 0.4.10"
8
8
jmh = " 1.37"
You can’t perform that action at this time.
0 commit comments