GROOVY-6401: Fix for Grails build