phil swenson wrote: > > so what I gather is: gradle doesn't really support this sort of thing. I > can search the task graph and find the task and call execute() I guess. >
There are ways to achieve what you want. For example: def releaseLocalizations = project.tasks.add("releaseLocalizations") releaseLocalizations.dependsOn(uploadLocalizations) project.gradle.taskGraph.whenReady { if (it.hasTask(releaseLocalizations)) { project.uniqueVersion = true } } -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context: http://gradle.1045684.n5.nabble.com/dependency-task-issue-tp4878218p4884020.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