build script clean up. Java generator plugin replaced with Groovy.