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 {
2424 File sources
2525 /* * range positioning for highlighting */
2626 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 = " "
2731
2832 ScoverageExtension (Project project ) {
2933
@@ -85,7 +89,8 @@ class ScoverageExtension {
8589 plugin. addAll(parameters)
8690 }
8791 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} " )
8994 if (extension. highlighting) {
9095 plugin. add(' -Yrangepos' )
9196 }
You can’t perform that action at this time.
0 commit comments