Configuration

Config

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))
//OR
GrooCSS.convert(new Config(compress: true), infile, outfile)
//OR
groocss { compress = true } // using Gradle plugin