Re: Groovy 2.5.0-rc-2 breaks Gant

2018-05-06 Thread Keegan Witt
I'll take a look. I'll also see if there are other places that can break. If there are several ways it can break, then maybe we should not use a delegate to picocli and instead have folks switch the CliBuilder instance they instantiate. -Keegan On Sun, May 6, 2018, 7:56 PM Remko Popma

Re: Groovy 2.5.0-rc-2 breaks Gant

2018-05-06 Thread Remko Popma
I think I found a way to fix this. See https://github.com/apache/groovy/pull/696 This PR adds CliBuilder.setParser and CliBuilder.setFormatter methods that ignore the specified value and print a warning to stderr. On Sun, May 6, 2018 at 9:14 PM, Remko Popma wrote: > In

Re: Groovy 2.5.0-rc-2 breaks Gant

2018-05-06 Thread Remko Popma
In 2.5.0-rc-2, groovy.util.CliBuilder delegates to groovy.cli.picocli.CliBuilder. The error is that the `parser` property of this class is no longer writable. You can resolve this with 2.5.0-rc-2 by either not setting the `parser` property in the CliBuilder constructor or using the