make trunk only work with Groovy and above