-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathLessResourcesGrailsPlugin.groovy
23 lines (19 loc) · 1.06 KB
/
LessResourcesGrailsPlugin.groovy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import org.grails.plugin.resource.CSSPreprocessorResourceMapper
import org.grails.plugin.resource.CSSRewriterResourceMapper
class LessResourcesGrailsPlugin {
def version = "1.3.3.1"
def grailsVersion = "2.0 > *"
def author = "Karol Balejko"
def authorEmail = "[email protected]"
def organization = [ name: "GroovyDev", url: "http://groovydev.com/" ]
def title = "Plugin LESS files resource mapper"
def description = '''Provides LESS files resource mapper. Compile .less files into .css files. Less compiler based on less.js (LESS - Leaner CSS v1.3.0 http://lesscss.org)'''
def documentation = "https://github.com/groovydev/less-grails-plugin/blob/master/README.md"
def license = "APACHE"
def issueManagement = [ system: "github", url: "https://github.com/groovydev/less-grails-plugin/issues" ]
def scm = [ url: "https://github.com/groovydev/less-grails-plugin" ]
def doWithSpring = {
CSSPreprocessorResourceMapper.defaultIncludes.add('**/*.less')
CSSRewriterResourceMapper.defaultIncludes.add('**/*.less')
}
}