Skip to content

Commit 67e5106

Browse files
committed
Fix checking without aggregation on multi-module with no source code in the root project
1 parent 1044b8a commit 67e5106

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/groovy/org/scoverage/ScoveragePlugin.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ class ScoveragePlugin implements Plugin<PluginAware> {
119119

120120
project.tasks.create(CHECK_NAME, OverallCheckTask.class) {
121121
dependsOn(reportTask)
122+
onlyIf { extension.reportDir.get().list() }
122123
group = 'verification'
123124
coverageType = extension.coverageType
124125
minimumRate = extension.minimumRate

0 commit comments

Comments
 (0)