I am currently using the Gradle plugin to run JaCoCo to replicate code coverage. I wanted to specify some filtering options in my build.gradle; https://github.com/jacoco/jacoco/wiki/FilteringOptions
I see that this is possible from the Maven plugin; e.g. https://github.com/timezra/jacoco-scala-maven-plugin
From Gradle doco , there is no clear way to do this.
How to configure filtering options for JaCoCo at startup as part of a build.gradle script?
build.gradle
Gradle The JaCoCo plugin does not currently provide such filtering options. If you think so, please write a feature request at http://forums.gradle.org .