On 15/06/2011, at 5:46 AM, phil swenson wrote:

> If I have groovy code in a gradle plugin class and want to call a
> gradle task in a utility fashion - how would I do this?
> 
> In my case, I need to call the "jar" task.  I could use the "ant.jar"
> method but it seems like using the gradle jar task might be better.

You should try and avoid having to do this as it circumvents a lot of the nice 
things that Gradle does for you. Ideally you would manage this by configuring 
task dependencies.

Can you please describe when/where/why you are trying to do this so we can try 
to work out an alternative solution.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to