Added Gradle support and updated dependency libraries to latest version.