Updates gradle build and library dependencies to latest versions.