-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
45 lines (39 loc) · 1.03 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import kotlinx.kover.gradle.plugin.dsl.GroupingEntityType
plugins {
// trick: for the same plugin versions in all sub-modules
alias(libs.plugins.androidLibrary).apply(false)
alias(libs.plugins.composeCompiler).apply(false)
alias(libs.plugins.composeMultiplatform).apply(false)
alias(libs.plugins.kotlinMultiplatform).apply(false)
// apply coverage to whole project
alias(libs.plugins.kover)
}
allprojects {
group = "com.ekezet.hurok"
version = "1.3.0"
}
dependencies {
kover(project(":base"))
kover(project(":compose"))
kover(project(":test"))
}
kover {
reports {
filters {
excludes {
annotatedBy(
"androidx.compose.runtime.Composable",
"com.ekezet.hurok.test.CoverageIgnore",
)
}
}
total {
verify {
rule {
groupBy = GroupingEntityType.CLASS
minBound(80)
}
}
}
}
}