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.
2 parents d71017e + 952add2 commit e838602Copy full SHA for e838602
src/main/groovy/org/scoverage/ScoverageExtension.groovy
@@ -24,6 +24,8 @@ class ScoverageExtension {
24
File sources
25
/** range positioning for highlighting */
26
boolean highlighting = true
27
+ /** regex of excluded packages, separated by semicolons */
28
+ String excludedPackages = ""
29
30
ScoverageExtension(Project project) {
31
@@ -85,7 +87,7 @@ class ScoverageExtension {
85
87
plugin.addAll(parameters)
86
88
}
89
plugin.add("-P:scoverage:dataDir:${extension.dataDir.absolutePath}".toString())
- plugin.add('-P:scoverage:excludedPackages:')
90
+ plugin.add("-P:scoverage:excludedPackages:${extension.excludedPackages}")
91
if (extension.highlighting) {
92
plugin.add('-Yrangepos')
93
0 commit comments