Are you sure you need it at Bootstrap.groovy ? Is that what you expect or can change?
If your answer is no, I found that the meta tag is very useful for getting information in GSP files.
For example, if you want to specify your application name, you can do it like this:
<g:meta name="app.name"/>
You can get any property in your application.properties file.
And if you, like me, must combine it with a different value, here is my example. Remember that any tag can be used as a method without the g: namespace. For instance:
<g:set var="help" value="http://localhost:8080/${meta(name:"app.name")}/help" />
The Grails documentation about this is a bit poor, but here .
source share