phil swenson wrote: > > For example, I have an "exportMessages" task. I need a "packageMessages" > task that takes the output of "exportMessages" and jar it up. Should I put > it in the build directory? >
Usually a subdirectory of 'build' is a good choice, for example 'build/messages'. To avoid code duplication, store this value in a project (or task) property, and reference it from other locations as appropriate. -- Peter Niederwieser Developer, Gradle http://www.gradle.org Trainer & Consultant, Gradleware http://www.gradleware.com Creator, Spock Framework http://spockframework.org -- View this message in context: http://gradle.1045684.n5.nabble.com/best-practice-for-passing-output-of-one-task-to-another-tp4382135p4382192.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
