forked from Grailsrocks/grails-cached-resources
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CachedResourcesGrailsPlugin.groovy
42 lines (32 loc) · 1 KB
/
CachedResourcesGrailsPlugin.groovy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
class CachedResourcesGrailsPlugin {
def version = "1.0"
def grailsVersion = "1.2 > *"
// the other plugins this plugin depends on
def dependsOn = [resources:'1.0.RC3 > *', cacheHeaders:'1.0.4 > *']
def loadAfter = ['resources']
// resources that are excluded from plugin packaging
def pluginExcludes = [
"grails-app/views/error.gsp",
"web-app/css/**/*.*",
"web-app/js/**/*.*"
]
def author = "Marc Palmer"
def authorEmail = "[email protected]"
def title = "Cached Resources"
def description = '''\\
Makes static resources browser-cacheable with unique filenames based on their content
'''
def documentation = "http://grails.org/plugin/cached-resources"
def doWithWebDescriptor = { xml ->
}
def doWithSpring = {
}
def doWithDynamicMethods = { ctx ->
}
def doWithApplicationContext = { applicationContext ->
}
def onChange = { event ->
}
def onConfigChange = { event ->
}
}