update formula to use newly released grails-2.3.1

Updated formula for grails 2.3.1