On 05/08/2011, at 6:47 AM, Rene Groeschke wrote:

> Am 04.08.11 22:37, schrieb Alexander von Zitzewitz:
>> 
>> Thanks, that clarifies it. I read that ConventionTask was soon to be 
>> deprecated and one should use DefaultTask instead:
>> 
>>  http://gradle.1045684.n5.nabble.com/Purpose-of-ConventionTask-td4533779.html
> missed that info. 1:0 for you.
> 
> so kicking step 1 and proceed with 2,3,4 should do the trick.

That might happen, but regardless you don't need to subclass ConventionTask 
here.

There is one benefit in doing so though in that it gives you some nicer API for 
dealing with the dynamic stuff from Java. But from Groovy there is no 
difference.

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

Reply via email to