Only set grails if we can determine grails version