JaCoCo & Gradle - Filtering Options

拜拜、爱过 提交于 2019-12-07 12:10:40

问题


I'm currently using the Gradle plugin to run JaCoCo for code coverage repots. I wanted to specify in my build.gradle some filtering options; https://github.com/jacoco/jacoco/wiki/FilteringOptions

I can see that this is possible from the Maven plugin; e.g. https://github.com/timezra/jacoco-scala-maven-plugin

From the Gradle doco here there appears no clear way on how to do this.

How can I set filtering options for JaCoCo when running as part of a build.gradle script?


回答1:


Gradle's JaCoCo plugin doesn't currently provide such filtering options. If you think it should, please file a feature request over at http://forums.gradle.org.



来源:https://stackoverflow.com/questions/19625640/jacoco-gradle-filtering-options

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!