Sorry, I should have given you the example in the configuration script syntax
withConfig(configuration) { ast(groovy.transform.TupleConstructor, includes:['']) } But it doesn't matter, because the transformation removes existing constructors from the class. Sorry, I got ahead of myself. -Keegan On Mon, Jul 13, 2015 at 5:45 PM, Keegan Witt <keeganw...@gmail.com> wrote: > One way that comes to mind offhand would be > @groovy.transform.TupleConstructor(includeFields=false, > includeProperties=false, includeSuperFields=false, > includeSuperProperties=false) > > or > @groovy.transform.TupleConstructor(includes=['']) > > Anybody know why > @groovy.transform.TupleConstructor(includes=[]) > doesn't work? > > -Keegan > > On Mon, Jul 13, 2015 at 5:34 PM, Nikolay Totomanov <ntotoma...@abv.bg> > wrote: > >> Hello, >> >> I need to always add the default constructor to my classes. >> Is it possible to achieve that using CompilerConfiguration >> >> Regards, >> Nikki >> > >