Just a minimal nitpic: I guess this can be simplified as Groovy now requires Java 6.