I think runtime.groovy was introduced in Grails 4, that's where you could call external services or other utilities to set properties that would normally be initialized in application.yml. With 3.1.1 it sounds like BootStrap.groovy was similar? https://grails.github.io/legacy-grails-doc/3.1.1/guide/conf.html