File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/main/groovy/org/scoverage Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,10 @@ class ScoverageExtension {
24
24
File sources
25
25
/* * range positioning for highlighting */
26
26
boolean highlighting = true
27
+ /* * regex of excluded packages, separated by colons */
28
+ String excludedPackages = " "
29
+ /* * regex of excluded files, separated by colons */
30
+ String excludedFiles = " "
27
31
28
32
ScoverageExtension (Project project ) {
29
33
@@ -85,7 +89,8 @@ class ScoverageExtension {
85
89
plugin. addAll(parameters)
86
90
}
87
91
plugin. add(" -P:scoverage:dataDir:${ extension.dataDir.absolutePath} " . toString())
88
- plugin. add(' -P:scoverage:excludedPackages:' )
92
+ plugin. add(" -P:scoverage:excludedPackages:${ extension.excludedPackages} " )
93
+ plugin. add(" -P:scoverage:excludedFiles:${ extension.excludedFiles} " )
89
94
if (extension. highlighting) {
90
95
plugin. add(' -Yrangepos' )
91
96
}
You can’t perform that action at this time.
0 commit comments