Groovy 1.6 must be used to compile. Some code is incompatible with upper versions