Our application is divided into the main application and several plugins. We use built-in plugins through the BuildConfig.groovy file. When it is time for WAR everything for production, I get the following message:
You cannot update the plugin that is configured through BuildConfig.groovy, remove the configuration to continue.
And then Grails wants to remove the plugin because it cannot find it in application.properties. But during development, having it in application.properties causes problems. So, when we are ready to create a WAR for production, how do we get around this without commenting on the plugins in BuildConfig.groovy every time?
Gregg source share