title: Overriding Grails config for plugins
body: <p>I am trying to figure out how to separate deployment specific config from my Grails 3 app. In Grails 2 I could setup a config location lookup which would load my dev specific config file. And in Grails 3 I have found that I can provide additional spring configs when running the app, i.e.:</p>
  
  <pre><code>./grailsw -Dspring.config.location=classpath:application.yml,file:///home/nigel/src/app/dev.yml run-app
  </code></pre>
  
  <p>However, this doesn't work if I'm using plugins, such as below, where it will just used the config in grails-app/conf/application.yml:</p>
  
  <pre><code>./grailsw -Dspring.config.location=classpath:application.yml,file:///home/nigel/src/app/dev.yml url-mappings-report
  </code></pre>
  
  <p>So my question is, how do I provide deployment/dev specific config files to grails so that it works with the grails plugins.</p>