Skip to content

Instantly share code, notes, and snippets.

@prabhatkashyap
Created October 29, 2017 16:10
Show Gist options
  • Save prabhatkashyap/c117da58559e2832d4ae077d187ec718 to your computer and use it in GitHub Desktop.
Save prabhatkashyap/c117da58559e2832d4ae077d187ec718 to your computer and use it in GitHub Desktop.
GrailsApplication app = ApplicationContextHolder.getGrailsApplication()
ConfigObject config = app.getConfig()
String variable = config.grails.variableNamefromConfig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment