Skip to content

Commit

Permalink
add scoverage tasks to the verification group
Browse files Browse the repository at this point in the history
  • Loading branch information
maiflai committed Sep 9, 2018
1 parent f70b696 commit 37fa6e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/groovy/org/scoverage/ScoverageExtension.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,18 @@ class ScoverageExtension {
testSourceSet.runtimeClasspath
}
})
group = 'verification'
}

project.tasks.create(ScoveragePlugin.REPORT_NAME, ScoverageReport.class) {
dependsOn(project.tasks[ScoveragePlugin.TEST_NAME])
onlyIf { ScoveragePlugin.extensionIn(project).dataDir.list() }
group = 'verification'
}

project.tasks.create(ScoveragePlugin.CHECK_NAME, OverallCheckTask.class) {
dependsOn(project.tasks[ScoveragePlugin.REPORT_NAME])
group = 'verification'
}

sources = project.projectDir
Expand Down

0 comments on commit 37fa6e1

Please sign in to comment.