Interesting that it pops up for the second time in two weeks. See this thread: http://markmail.org/message/evs3ztkrfjc4cl4i.
On Thu, Aug 28, 2014 at 3:40 PM, Peter Ledbrook <pe...@cacoethes.co.uk> wrote: > Hi, > > While developing a course and exploring the Gradle API, something > strange has come to my attention. As an example, check out the API > docs for MavenArtifactRepository: > > > http://www.gradle.org/docs/current/dsl/org.gradle.api.artifacts.repositories.MavenArtifactRepository.html > > As far as I can tell, it definitely says that `url` is a property. And > yet the DSL example look like: > > repositories { > maven { > url "file:///var/tmp/repo" > } > } > > That definitely looks like a method to me. What's going on here? Does > this magic apply to all DSL properties, or a sub-set of them? Or are > the docs just wrong (seems unlikely)? > > It may be a small thing, but it feels like an inconsistency between > different parts of the documentation that is bound to cause some level > of uncertainty and confusion (certainly is for me). > > Thanks, > > Peter > > -- > Peter Ledbrook > t: @pledbrook > w: http://www.cacoethes.co.uk/ > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > >