3 Usage - Reference Documentation
Authors:
Version: 0.4.4
3 Usage
In your project resources file, define GSPs as resources like any other resource type:'style' { resource url:'css/test.css.gsp' }
'style' { resource url:'somefile.gsp', attrs:[rel: 'stylesheet/css', type:'css'] }
attrs
parameter, which is used to tell
the resources plugin the type of the resource being generated. (In this example,
the compiled file will simply be named 'somefile' with no extension.)