groovy and gradle mode