Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gradle: Enable JaCoCo only if a JacocoReport task is in the graph
Enabling JaCoCo with "append = true" (the default) disables Gradle's build cache. Instead of setting "append = false", enable JaCoCo only if we actually request a coverage report. For details see https://discuss.gradle.org/t/do-not-cache-if-condition-matched-jacoco-agent-configured-with-append-true-satisfied/23504
- Loading branch information