Cleanup gradle build script - need to move to test class directly.