Skip to content

Commit b52dd5a

Browse files
committed
Added testCoverage target to Gradle build, removed testAll target
1 parent 6ad8ea1 commit b52dd5a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,14 @@ javadoc {
101101
options.taglets 'DochubTaglet'
102102
}
103103

104-
task testAll(dependsOn: tasks.withType(Test))
105-
106104
gradle.taskGraph.whenReady { taskGraph ->
107-
if (taskGraph.hasTask(check)) {
105+
if (taskGraph.hasTask(testCoverage)) {
108106
tasks.withType(Test) { jacoco { enabled = true } }
109107
}
110108
}
111109

110+
task testCoverage(dependsOn: test)
111+
112112
task wrapper(type: Wrapper) {
113113
gradleVersion = '1.9'
114114
}

0 commit comments

Comments
 (0)