File tree Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 11plugins {
22 id(" kotlinx.team.infra" ) version " 0.4.0-dev-81"
33 kotlin(" multiplatform" ) apply false
4+ id(" org.jetbrains.kotlinx.kover" ) version " 0.8.0-Beta2"
45}
56
67infra {
@@ -40,3 +41,19 @@ allprojects {
4041tasks.withType< org.jetbrains.kotlin.gradle.targets.js.npm.tasks.KotlinNpmInstallTask > ().configureEach {
4142 args.add(" --ignore-engines" )
4243}
44+
45+ kover {
46+ reports {
47+ verify {
48+ rule {
49+ // requirement for a minimum lines coverage of 85%
50+ minBound(85 )
51+ }
52+ }
53+ }
54+ }
55+
56+ dependencies {
57+ kover(project(" :kotlinx-datetime" ))
58+ kover(project(" :kotlinx-datetime-serialization" ))
59+ }
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ plugins {
1212 kotlin(" plugin.serialization" )
1313 id(" org.jetbrains.dokka" )
1414 `maven- publish`
15+ id(" org.jetbrains.kotlinx.kover" )
1516}
1617
1718mavenPublicationsPom {
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import java.util.Locale
33plugins {
44 id(" kotlin-multiplatform" )
55 kotlin(" plugin.serialization" )
6+ id(" org.jetbrains.kotlinx.kover" )
67}
78
89val mainJavaToolchainVersion: String by project
You can’t perform that action at this time.
0 commit comments