java: Release 2.2.2

Sync with version 2.1.9 (and under) is no longer compatible due to a
recent syncgroup metadata change. Compared to the other revisions in
the 2.1.x line, we cannot refactor client-side code to fix the
problem, so I've decided that we need a minor version bump.

Notably, the TODOs app depends on 2.1.+, so it will be switched to
the 2.2.+ line shortly.

2.2.0: Backwards incompatible metadata change
2.2.1: RPC fix that fixes some "doesn't sync" bugs.
2.2.2: Includes listenForInvites in Java

Change-Id: Iad4f37154972b738ac1d41b3249195c95b630e21
diff --git a/android-lib/build.gradle b/android-lib/build.gradle
index 28d60c5..faeb2ed 100644
--- a/android-lib/build.gradle
+++ b/android-lib/build.gradle
@@ -30,7 +30,7 @@
 
 // You should change this after releasing a new version of the library. See the
 // list of published versions at https://repo1.maven.org/maven2/io/v/vanadium-android.
-def releaseVersion = '2.1.9'
+def releaseVersion = '2.2.2'
 
 android {
     buildToolsVersion '23.0.1'
diff --git a/lib/build.gradle b/lib/build.gradle
index 5a511b6..2669139 100644
--- a/lib/build.gradle
+++ b/lib/build.gradle
@@ -23,7 +23,7 @@
 
 // You should change this after releasing a new version of the library. See the
 // list of published versions at https://repo1.maven.org/maven2/io/v/vanadium.
-def releaseVersion = '2.1.9'
+def releaseVersion = '2.2.2'
 
 dependencies {
     compile group: 'joda-time', name: 'joda-time', version: '2.7'