Added JDK switching support for Grails