There are three different ways to configure GrooCSS:

Of these options, the third is most recommended. With the DSL there are several chainable methods available to easily configure your CSS:

Compressing (Minimization)

To "compress" the output (no new-lines), just pass in a Config object:

GrooCSS.process(new Config(compress: true))
GrooCSS.convert(new Config(compress: true), infile, outfile)
groocss { compress = true } // using Gradle plugin

Last updated: 31 July 2019