Execution failed for task ':compassMobile'.
> Illegal null value provided in this collection: [-S, compass, null, -- sourcemap, --time, --debug-info, --sass-dir, /Users/.../src/main/sass/mobile, --css-dir, /Users/.../src/main/webapp/mobile/css]
The error seems to be the null after the 'compass' script argument.
This seems to be an issue with with the CompassTask or the JRubyExecTask. I've tried to follow the code in each plugin but I can't work out what I'm missing from my configuration.
Alternatively, is there a better way of achieving two executions of the grade task?
I am trying to set up gradle so that I run the compass task twice to compile two sets of CSS files.
I have the following bits in my gradle file to achieve this:
Each time I run this I get the same error:
The error seems to be the null after the 'compass' script argument.
This seems to be an issue with with the CompassTask or the JRubyExecTask. I've tried to follow the code in each plugin but I can't work out what I'm missing from my configuration.
Alternatively, is there a better way of achieving two executions of the grade task?