File tree 3 files changed +19
-0
lines changed
3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 1
1
plugins {
2
2
id(" kotlinx.team.infra" ) version " 0.4.0-dev-81"
3
3
kotlin(" multiplatform" ) apply false
4
+ id(" org.jetbrains.kotlinx.kover" ) version " 0.8.0-Beta2"
4
5
}
5
6
6
7
infra {
@@ -40,3 +41,19 @@ allprojects {
40
41
tasks.withType< org.jetbrains.kotlin.gradle.targets.js.npm.tasks.KotlinNpmInstallTask > ().configureEach {
41
42
args.add(" --ignore-engines" )
42
43
}
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 {
12
12
kotlin(" plugin.serialization" )
13
13
id(" org.jetbrains.dokka" )
14
14
`maven- publish`
15
+ id(" org.jetbrains.kotlinx.kover" )
15
16
}
16
17
17
18
mavenPublicationsPom {
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import java.util.Locale
3
3
plugins {
4
4
id(" kotlin-multiplatform" )
5
5
kotlin(" plugin.serialization" )
6
+ id(" org.jetbrains.kotlinx.kover" )
6
7
}
7
8
8
9
val mainJavaToolchainVersion: String by project
You can’t perform that action at this time.
0 commit comments