Hi,

there is no order.

Please look at this issue:
http://issues.gradle.org/browse/GRADLE-427

Regards,
Mathias Kalb


Am 06.06.2011 20:11, schrieb evgenyg:
I have a simple "shortcut" task:

task cbd ( dependsOn: [ clean, build, deploy ] )


But when I run it I get:

:messenger-plugin:compileJava
:messenger-plugin:compileGroovy
:messenger-plugin:processResources
:messenger-plugin:classes
:messenger-plugin:jar
:messenger-plugin:assemble
:messenger-plugin:compileTestJava UP-TO-DATE
:messenger-plugin:compileTestGroovy UP-TO-DATE
:messenger-plugin:processTestResources UP-TO-DATE
:messenger-plugin:testClasses UP-TO-DATE
:messenger-plugin:test
:messenger-plugin:check
:messenger-plugin:build
:messenger-plugin:clean
:messenger-plugin:deploy


So effectively it runs "build, clean, deploy". Tried

task ( 'cbd' ).dependsOn clean, build, deploy


but the result was the same. Here's my
https://github.com/evgeny-goldin/teamcity-plugins/blob/301aad0c33c9fc149832762af1cca89cebcc3bee/build.gradle#L91
Gradle script .

Is there anything that I'm doing wrong?



-----
Best regards,

Evgeny

evgeny-goldin.com

--
View this message in context: 
http://gradle.1045684.n5.nabble.com/dependsOn-doesn-t-respect-tasks-order-tp4459436p4459436.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

     http://xircles.codehaus.org/manage_email






---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to