Skip to content

Instantly share code, notes, and snippets.

@tyama
Created September 22, 2011 10:59
Show Gist options
  • Save tyama/1234541 to your computer and use it in GitHub Desktop.
Save tyama/1234541 to your computer and use it in GitHub Desktop.
load config in grails script
includeTargets << grailsScript("Init")
includeTargets << grailsScript("_GrailsPackage")
target(main: "The description of the script goes here!") {
compile()
createConfig()
println config
}
setDefaultTarget(main)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment