Adding the boilerplate stuff back here as it has serious limitation in multi-module environment. Also updated the groovy test file from gradle-template.