Luk, If all the "dependsOn" are standard shouldn't the plugin sort all that out rather than having it in the Gradle file?
On Wed, 2009-03-25 at 12:04 -0700, Luk Morbee wrote:
[ . . . ]
> project(':SampleProject') {
> usePlugin(CoberturaPlugin)
>
> dependencies {
> testRuntime ":cobertura:1.9.1"
> }
>
> test {
> dependsOn 'cbInstrument'
> }
>
> cbInstrument {
> // the plugin creates a copy of your classes
> dependsOn 'testCompile'
> include '.*com.sample.project.*'
> exclude '.*com.sample.project.mockup.*'
> }
>
> cbReport {
> // the plugin replaces the instrumented classes by the copy made in the
> cbIntrument-task
> dependsOn 'test'
> }
>
> cbCheck {
> dependsOn 'cbReport'
> totalBranchCoverageRate = '40'
> totalLineCoverageRate = '50'
> }
>
> }
--
Russel.
============================================================
Dr Russel Winder Partner
Concertant LLP t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road, f: +44 8700 516 084 voip:
sip:[email protected]
London SW11 1EN, UK. m: +44 7770 465 077 xmpp: [email protected]
signature.asc
Description: This is a digitally signed message part
