Skip to content

Commit 2cf2bb1

Browse files
committed
restore kover filters for BuildConfig and @Preview
The 0.7.x koverReport DSL was deleted during the 0.8.3 upgrade without porting the filters, so coverage reports were silently including BuildConfig classes and Preview composables. Restore them using the 0.8.x kover { reports { ... } } DSL.
1 parent 605a60a commit 2cf2bb1

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

build.gradle.kts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,14 @@ dependencies {
5656
kover(project(":app"))
5757
kover(project(":slack-feedback"))
5858
}
59+
60+
kover {
61+
reports {
62+
filters {
63+
excludes {
64+
classes("*BuildConfig")
65+
annotatedBy("*Preview")
66+
}
67+
}
68+
}
69+
}

0 commit comments

Comments
 (0)