Groovy based build system