On 23/06/2011, at 5:52 AM, phil swenson wrote:

> yesterday I was asking about project.afterEvaluate not firing in my unit test.
> The answer was calling project.evaluate() directly.
> 
> Is there something to trigger this?
> 
> project.gradle.taskGraph.whenReady{
>            setupArchivesTask(project, l10nConvention)
>  }


The way currently is…

gradle.taskGraph.addTasks(«some tasks») 
gradle.taskGraph.execute()

This comes with the same caveats as using project.evaluate() though in that 
this is not public API and is potentially subject to change in the future.

-- 
Luke Daley
Principal Engineer, Gradleware 
http://gradleware.com

Please vote Gradle for JAX Awards » http://vote.jax-awards.com




---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to