Finished the conversion to Gradle for build.