On 02/11/2011, at 8:15 AM, Luke Daley wrote:

> Adam made a change a while ago to add a method variant of all setters.
> 
> For example, the following works…
> 
> class CustomTask extends DefaultTask {
>       String someProp
> }
> 
> task t(type: CustomTask) {
>       someProp "someValue"
> }
> 
> 
> Are we publicising this?


Not yet. Some of the samples make use of it. I haven't updated the dsl 
reference for this yet.


--
Adam Murdoch
Gradle Co-founder
http://www.gradle.org
VP of Engineering, Gradleware Inc. - Gradle Training, Support, Consulting
http://www.gradleware.com

Reply via email to