Re: Lazy evaluation of properties in a closure?

2016-09-23 Thread Andrew Bayer
So of course, right after sending this, I found a workaround for my particular use case - switching from DELEGATE_ONLY to DELEGATE_FIRST got my tests passing. But I'm still curious to know if there's a way to do this in general. =) A. On Fri, Sep 23, 2016 at 9:28 AM, Andrew Bayer <andrew

Lazy evaluation of properties in a closure?

2016-09-23 Thread Andrew Bayer
So I've got a DSL that has a section that looks like https://gist.github.com/abayer/a0bfbb531457e79aabc8d6c25d992e62, which ends up translating (via

Re: Garb'ing libraries in jenkins script console

2016-04-22 Thread Andrew Bayer
fwiw, @Grab won't work from the Jenkins script console. A. On Fri, Apr 22, 2016 at 3:48 PM, Robert Stagner wrote: > I believe this is what you want > > @Grab(group='org.codehaus.groovy.modules.http-builder', > module='http-builder', version='0.7.1') > > version = 0.7.1 > >