Skip to content

Commit cfb8562

Browse files
committed
declare that the reportScoverage task uses the dataDir for input and the reportDir for output
1 parent 2b7a743 commit cfb8562

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/groovy/org/scoverage/ScoverageExtension.groovy

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,10 @@ class ScoverageExtension {
154154
outputs.file(new File(extension.dataDir, 'scoverage.coverage.xml'))
155155
}
156156
t.tasks[ScoveragePlugin.TEST_NAME].outputs.dir(extension.dataDir)
157+
t.tasks[ScoveragePlugin.REPORT_NAME].configure {
158+
inputs.dir(extension.dataDir)
159+
outputs.dir(extension.reportDir)
160+
}
157161
}
158162
}
159163
}

0 commit comments

Comments
 (0)