@@ -10,12 +10,13 @@ class ScoverageSbtPlugin extends sbt.Plugin {
10
10
11
11
val OrgScoverage = " org.scoverage"
12
12
val ScalacArtifact = " scalac-scoverage-plugin"
13
- val ScoverageVersion = " 0.99.7 "
13
+ val ScoverageVersion = " 0.99.8 "
14
14
15
15
object ScoverageKeys {
16
16
val excludedPackages = SettingKey [String ](" scoverage-excluded-packages" )
17
17
val minimumCoverage = SettingKey [Double ](" scoverage-minimum-coverage" )
18
18
val failOnMinimumCoverage = SettingKey [Boolean ](" scoverage-fail-on-minimum-coverage" )
19
+ val scoverageDebug = settingKey[Boolean ](" scoverage debug output" )
19
20
val highlighting = SettingKey [Boolean ](" scoverage-highlighting" , " enables range positioning for highlighting" )
20
21
val scoverageOutputCobertua = settingKey[Boolean ](" enables cobertura XML report generation" )
21
22
val scoverageOutputXML = settingKey[Boolean ](" enables xml report generation" )
@@ -70,6 +71,7 @@ class ScoverageSbtPlugin extends sbt.Plugin {
70
71
minimumCoverage := 0 , // default is no minimum
71
72
failOnMinimumCoverage := false ,
72
73
highlighting := false ,
74
+ scoverageDebug := false ,
73
75
scoverageOutputXML := true ,
74
76
scoverageOutputHTML := true ,
75
77
scoverageOutputCobertua := true ,
@@ -82,7 +84,8 @@ class ScoverageSbtPlugin extends sbt.Plugin {
82
84
Seq (
83
85
" -Xplugin:" + classpath.getAbsolutePath,
84
86
" -P:scoverage:excludedPackages:" + Option (excludedPackages.value).getOrElse(" " ),
85
- " -P:scoverage:dataDir:" + crossTarget.value.getAbsolutePath + " /scoverage-data"
87
+ " -P:scoverage:dataDir:" + crossTarget.value.getAbsolutePath + " /scoverage-data" ,
88
+ " -P:scoverage:debug:" + scoverageDebug.value
86
89
)
87
90
}
88
91
},
0 commit comments