fix for GRAILS-10170 "Dependency resolution happening again in forked JVM, slowing down startup"