'dependsOn' is probably what you want to use, you just have a small typo in
your code. 

task foo (dependsOn gradleTest) 

should actually be:

task foo (dependsOn: gradleTest) 


Sometimes it's not always clear with the Groovy/DSL syntax, but in this case
you're constructing  a map ([:]) that gets passed in to the task
configuration. In your case, you're just missing the key:value separator.

Hope that helps!

--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Multi-project-legacy-app-Ant-and-moving-to-Gradle-tp4834651p4835300.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


Reply via email to