There are several, I still could not get them fully sorted out yet.
1. If there is your own plugin, and if they contain application.yml, put the least default configurations there.
2. I tried to use environments settings. For an example, I use spring-security, then I tried to remove my common settings, and set them differently in different environments. Otherwise seemed the spring-security settings can not be picked up.
3. Specify the configurations with Java options. -Dspring.config.location=‘full folder of my_own_applicatioin.yml’
but by now, there are still issues.
1. One of my projects can not resolve the views, both GSP views and GSON views, when running as a Jar. java -jar xxxx.war
2. Some of my projects still can not run with gradle bootRun, but they can run with gradle run
At this point, all my apps are development-ready for grails 7, but not production-ready, yet. Will need to continue to work on them