upgraded to groovy 2.2.0