Hi,

there is one very nice feature that should be simple to implement and I
would love to have it in 0.9.

Have a look at the following use case. Say you want to provide test
execution with and without coverage. There are many ways to implement this.
One very nice solution would be:

apply id: 'java'
task instrument << { ... }
task testWithCoverage(dependsOn: test) << { do the reporting }
test { dependsOn(task: instrument, requiredInDag: testWithCoverage  }

The current alternative to the above is to have if conditions in the task
actions.

Thoughts?

- Hans

--
Hans Dockter
Founder, Gradle
http://www.gradle.org, http://twitter.com/gradleorg
CEO, Gradle Inc. - Gradle Training, Support, Consulting
http://www.gradle.biz

Reply via email to