On 01/11/2011, at 10:27 PM, Adam Murdoch wrote:

> 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.

So it's conceptually public, but just lacking in documentation?

Where does making this an official feature sit in the scope of 1.0? If we have 
it in samples we need to explain it.


Also, what about exposing this feature to user model elements? This would mean 
making the Instantiator public.

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

Reply via email to