You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gradlew clean koverHtmlReport
> Task :macrobenchmark:koverHtmlReport FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Some problems were found with the configuration of task ':macrobenchmark:koverHtmlReport' (type 'KoverHtmlTask').
- In plugin 'org.jetbrains.kotlinx.kover' type 'kotlinx.kover.gradle.plugin.tasks.reports.KoverHtmlTask' property 'filters' doesn't have a configured value.
Reason: This property isn't marked as optional and no value has been configured.
Possible solutions:
1. Assign a value to 'filters'.
2. Mark property 'filters' as optional.
Please refer to https://docs.gradle.org/8.1.1/userguide/validation_problems.html#value_not_set for more details about this problem.
- In plugin 'org.jetbrains.kotlinx.kover' type 'kotlinx.kover.gradle.plugin.tasks.reports.KoverHtmlTask' property 'reportDir' doesn't have a configured value.
Reason: This property isn't marked as optional and no value has been configured.
Possible solutions:
1. Assign a value to 'reportDir'.
2. Mark property 'reportDir' as optional.
Please refer to https://docs.gradle.org/8.1.1/userguide/validation_problems.html#value_not_set for more details about this problem.
- In plugin 'org.jetbrains.kotlinx.kover' type 'kotlinx.kover.gradle.plugin.tasks.reports.KoverHtmlTask' property 'title' doesn't have a configured value.
Reason: This property isn't marked as optional and no value has been configured.
Possible solutions:
1. Assign a value to 'title'.
2. Mark property 'title' as optional.
Please refer to https://docs.gradle.org/8.1.1/userguide/validation_problems.html#value_not_set for more details about this problem.
Expected behavior
Kover plugin should gracefully handle projects with macrobenchmark.
Hi,
to generate merged report you just need to call the task only for the root project (where subprojects { is specified) - thus Gradle commands will be gradlew clean :koverHtmlReport (with colon) instead of gradlew clean koverHtmlReport.
However, unfortunately, tests on devices are not supported now, so the report will display coverage 0 for all classes.
See also #96
Describe the bug
koverHtmlReport task fails when macrobenchmark project is configured. Sample is available here (forked from https://github.com/android/performance-samples): smozhaykin/performance-samples@def292e
Errors
Expected behavior
Kover plugin should gracefully handle projects with macrobenchmark.
Reproducer
smozhaykin/performance-samples@def292e
Environment
The text was updated successfully, but these errors were encountered: