I have a Grails 2.4.4 plugin that I am using in a 2.4.4 app. In that plugin's Config.groovy
:
grails.resources.adhoc.includes = ['/images/**', '/css/**', '/js/**', '/plugins/**']
grails.resources.resourceLocatorEnabled = true
grails.project.target.level = 1.8
grails.project.target.level = 1.8
However when I include this plugin in my app and do a grails run-app
, it is obvious that these configs are being overridden by the app.
Is this the default behavior of Grails? Meaning should the app be overridding the plugin's configs? If not, what could be going wrong?
are you using the assets plugin too ?