-
Notifications
You must be signed in to change notification settings - Fork 2
/
SpudMarkdownGrailsPlugin.groovy
25 lines (22 loc) · 1.13 KB
/
SpudMarkdownGrailsPlugin.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
class SpudMarkdownGrailsPlugin {
// the plugin version
def version = "0.6.0"
// the version or versions of Grails the plugin is designed for
def grailsVersion = "2.3 > *"
// resources that are excluded from plugin packaging
def pluginExcludes = [
"grails-app/views/error.gsp"
]
def title = "Spud Markdown Plugin" // Headline display name of the plugin
def author = "David Estes"
def authorEmail = "[email protected]"
def description = 'Adds Markdown formatting support to the Spud Site Management platform.'
def documentation = "https://github.com/spud-grails/spud-markdown"
def license = "APACHE"
def organization = [name: "Bertram Labs", url: "http://www.bertramlabs.com/"]
def issueManagement = [system: "GITHUB", url: "https://github.com/spud-grails/spud-markdown/issues"]
def scm = [url: "https://github.com/spud-grails/spud-markdown"]
def doWithApplicationContext = { ctx ->
application.config.spud.formatters << [name: 'markdown', description: 'Markdown', formatterClass: spud.markdown.MarkdownFormatter]
}
}