File tree 2 files changed +6
-6
lines changed
src/main/groovy/org/scoverage
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ class OverallCheckTask extends DefaultTask {
13
13
14
14
@TaskAction
15
15
void requireLineCoverage () {
16
- def reportDirName = project. extensions[ScoveragePlugin . CONFIGURATION_NAME ]. reportDirName
16
+ def dataDirName = project. extensions[ScoveragePlugin . CONFIGURATION_NAME ]. dataDirName
17
17
18
- if (cobertura == null ) cobertura = project. file(" $project . buildDir /reports/$r eportDirName /cobertura.xml" )
18
+ if (cobertura == null ) cobertura = project. file(" $project . buildDir /reports/$d ataDirName /cobertura.xml" )
19
19
20
20
def xml = new XmlParser (). parse(cobertura)
21
21
def overallLineRate = xml. attribute(' line-rate' ). toDouble()
Original file line number Diff line number Diff line change @@ -62,16 +62,16 @@ class ScoverageExtension {
62
62
}
63
63
t. tasks[ScoveragePlugin . TEST_NAME ]. configure {
64
64
// TODO : fix this
65
- systemProperty ' scoverage.report.dir ' , " ${ t.buildDir} /reports/${ t.extensions[ScoveragePlugin.CONFIGURATION_NAME].reportDirName } "
65
+ systemProperty ' scoverage.dataDir ' , " ${ t.buildDir} /reports/${ t.extensions[ScoveragePlugin.CONFIGURATION_NAME].dataDirName } "
66
66
systemProperty ' scoverage.basedir' , " ${ t.rootDir.absolutePath} " // for multi-module checking
67
67
68
68
def existingClasspath = classpath
69
69
classpath = t. files(t. sourceSets[ScoveragePlugin . CONFIGURATION_NAME ]. output. classesDir) +
70
- project. configurations[ScoveragePlugin . CONFIGURATION_NAME ] +
71
- existingClasspath
70
+ project. configurations[ScoveragePlugin . CONFIGURATION_NAME ] +
71
+ existingClasspath
72
72
}
73
73
}
74
74
}
75
75
76
- String reportDirName = ' scoverage'
76
+ String dataDirName = ' scoverage'
77
77
}
You can’t perform that action at this time.
0 commit comments