Update gradle to 2.2.1

The bundled version of  gradle is not compatible with the latest version of java. This updates to the latest release.