Add Gradle build
Add buildChangedModules and checkModuleChanged to support incremental build in Maven