We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5562ed7 commit 646df8eCopy full SHA for 646df8e
src/main/groovy/org/scoverage/ScoverageExtension.groovy
@@ -26,6 +26,8 @@ class ScoverageExtension {
26
boolean highlighting = true
27
/** regex for each excluded package */
28
List<String> excludedPackages = []
29
+ /** regex for each excluded file */
30
+ List<String> excludedFiles = []
31
32
ScoverageExtension(Project project) {
33
@@ -90,6 +92,9 @@ class ScoverageExtension {
90
92
if (extension.excludedPackages) {
91
93
plugin.add("-P:scoverage:excludedPackages:${extension.excludedPackages.join(';')}".toString())
94
}
95
+ if (extension.excludedFiles) {
96
+ plugin.add("-P:scoverage:excludedFiles:${extension.excludedFiles.join(';')}".toString())
97
+ }
98
if (extension.highlighting) {
99
plugin.add('-Yrangepos')
100
0 commit comments