-
Notifications
You must be signed in to change notification settings - Fork 129
Expand file tree
/
Copy pathkover.gradle
More file actions
31 lines (27 loc) · 850 Bytes
/
kover.gradle
File metadata and controls
31 lines (27 loc) · 850 Bytes
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
apply plugin: 'org.jetbrains.kotlinx.kover'
kover {
currentProject {
instrumentation {
// exclude jdk internals from instrumentation
excludedClasses.add "jdk.internal.*"
}
}
reports {
filters.excludes.androidGeneratedClasses()
total {
xml {
// set to true to run koverXmlReport task during the execution of the check task (if it exists) of the current project
onCheck.set false
}
html {
// set to true to run koverMergedHtmlReport task during the execution of the check task (if it exists) of the current project
onCheck.set false
}
}
}
}
tasks.withType(Test) {
kover {
excludes = ['okhttp3.*'] // added to resolve conflict with mockk
}
}