In my Custom ReadEnvironmentInfoTask I'm reading various properties files containing connectivity information to a database, and I then connect to that database and query couple of fields for the information which should then drive further conditional logic of the build.
So, my intent for this ReadEnvironmentInfoTask (custom task) was to connect to a database and store described information either in a set of properties or even encapsulate it in a Groovy object which the (other) calling task could then get hold of and further direct the logic of the build. This way I was trying to encapsulate all of the logic for reading propertis files and connecting to a database for furher information in one task and then have other tasks act on such retrieved information and proceed further. Hope that explains better of what I'm trying to do. Thanks, Dmitriy. -- View this message in context: http://gradle.1045684.n5.nabble.com/How-to-pass-objects-from-one-Gradle-task-to-another-tp4857557p4857665.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
