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 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
77import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
88import org.jetbrains.kotlin.gradle.tasks.KotlinNativeCompile
99
@@ -45,13 +45,15 @@ dependencies {
4545 kover(project(" :kotlinx-io-bytestring" ))
4646}
4747
48- koverReport {
49- verify {
50- rule {
51- minBound(95 , MetricType .LINE )
48+ kover {
49+ reports {
50+ verify {
51+ rule {
52+ minBound(95 , CoverageUnit .LINE )
5253
53- // we allow lower branch coverage, because not all checks in the internal code lead to errors
54- minBound(80 , MetricType .BRANCH )
54+ // we allow lower branch coverage, because not all checks in the internal code lead to errors
55+ minBound(80 , CoverageUnit .BRANCH )
56+ }
5557 }
5658 }
5759}
Original file line number Diff line number Diff line change 22kotlin = " 1.9.0"
33java = " 8"
44dokka = " 1.8.20"
5- kover = " 0.7.3 "
5+ kover = " 0.8.0-Beta2 "
66bcv = " 0.13.2"
77benchmark = " 0.4.9"
88jmh = " 1.36"
You can’t perform that action at this time.
0 commit comments