Example project using both Groovy and Java interchangeably [maven and gradle]