On 10/01/2013, at 2:19 PM, Guillaume Laforge wrote: > Also I'm not sure I'm seeing what it brings to have that annotation in 1.8, > could you enlighten me please?
1. Would allow us to start annotating our APIs 2. If IDE vendors added support (WRT intellisense) for it we'd get the benefits before Gradle 2. > > > On Thu, Jan 10, 2013 at 3:14 PM, Guillaume Laforge <[email protected]> wrote: > Hi Luke, > > On Thu, Jan 10, 2013 at 3:04 PM, Luke Daley <[email protected]> wrote: > [...] > > • @DelegatesTo annotation: to help IDEs and the static type checker > > and compiler to know that method calls in a method parameter closure are > > delegated to another parameter of the method -- nice for DSLs like in > > Gradle build files > > Is there any possibility of getting this backported to the 1.x line? > > We can't upgrade to Groovy 2 until Gradle 2 because of the breaking binary > incompatibilities, and other backwards incompatible changes. > > We could partially backport it, in the sense that we would "just" add the > annotation to the 1.8 line, but we wouldn't add the static type checking and > compilation support since that was only available starting from 2.0. > > But the annotation is really just an annotation in the end, hence good for > documentation purpose and for IDE support (pending Eclipse and IntelliJ IDEA > support that hint) > > [...] > > > -- > Guillaume Laforge > Groovy Project Manager > SpringSource, a division of VMware > > Blog: http://glaforge.appspot.com/ > Social: @glaforge / Google+ > > > > -- > Guillaume Laforge > Groovy Project Manager > SpringSource, a division of VMware > > Blog: http://glaforge.appspot.com/ > Social: @glaforge / Google+ -- Luke Daley Principal Engineer, Gradleware http://gradleware.com --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
