Closed SurpSG closed 4 months ago
Hi, thanks for the reproducer!
In the build.gradle.kts
file, replace the Kover configuration
kover {
excludeInstrumentation {
classes("*CompileOptions*")
packages("com.android")
packages("*.android.*")
}
}
with the following:
kover {
excludeInstrumentation {
packages("org.jetbrains.kotlin.gradle")
}
}
@shanshin It works, thank you!
Closing the issue.
Describe the bug If I apply kotlin gradle plugin then coverage collecting is failed:
If I run this test without the kotlin plugin then the coverage is collected properly.
Errors
coverage-error.log
is generated inbuild/kover/bin-reports
: coverage-error.logExpected behavior The coverage is collected successfully
Reproducer There is an example where the issue could be reproduced.
Reports If applicable, report files or screenshots.
Environment