This is a pretty common misunderstanding where Tasks are concerned. What's not immediately apparently is that with '<<' or 'doLast' you're working with the Task in the execution phase, as opposed to the configuration phase, where you're expected to set properties for the Task to be used during execution. There's a good article that gives you some more depth here: http://www.practicalgradle.org/blog/2010/11/declaring-tasks/ PracticalGradle-Tasks
-- View this message in context: http://gradle.1045684.n5.nabble.com/Understanding-the-Life-Cycle-and-tp3522463p3555610.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
