Merge branch 'stable-3.0' into stable-3.1

* stable-3.0:
  Update Gerrit API to 3.0.16
  Update Gerrit API to 2.16.27

Change-Id: I47a3fd48ff0d92c5937fecad079f86b3d4146069
diff --git a/README.md b/README.md
index 3f0d7de..725a35d 100644
--- a/README.md
+++ b/README.md
@@ -36,9 +36,9 @@
 
 ```python
 load("@com_googlesource_gerrit_bazlets//:gerrit_api.bzl", "gerrit_api")
-gerrit_api(version = "3.0.9",
-           plugin_api_sha1 = "dbcadf2c198b1ee1b74678855e8e10b2c403de1f",
-           acceptance_framework_sha1 = "799cb104f2c0de4394528e38ad487557dd69bb49")
+gerrit_api(version = "3.1.6",
+           plugin_api_sha1 = "e57f6465c9805f568082bffffd61a2771f10d68a",
+           acceptance_framework_sha1 = "ebfd50383f8593678b451c81dbc332db8e8da188")
 ```
 
 If the version ends in `-SNAPSHOT`, the jars are consumed from the local
@@ -47,7 +47,7 @@
 
 ```python
 load("@com_googlesource_gerrit_bazlets//:gerrit_api.bzl", "gerrit_api")
-gerrit_api(version = "3.0.10-SNAPSHOT")
+gerrit_api(version = "3.1.7-SNAPSHOT")
 ```
 
 <a name="basic-example"></a>
diff --git a/gerrit_api.bzl b/gerrit_api.bzl
index 706b28b..cf1002e 100644
--- a/gerrit_api.bzl
+++ b/gerrit_api.bzl
@@ -7,9 +7,9 @@
 gerrit_api is rule for fetching Gerrit plugin API using Bazel.
 """
 
-def gerrit_api(version = "3.0.16",
-               plugin_api_sha1 = "cf9d69e626981e8da094f3e63e4c1e34fc941ea2",
-               acceptance_framework_sha1 = "86c27e44ab657db543e35fa283395cbe1fe2f048"):
+def gerrit_api(version = "3.1.12",
+               plugin_api_sha1 = "cf810951fd0d451af56e0709bfe7b346997febf4",
+               acceptance_framework_sha1 = "4383fe608855f2926e10f374efdb8d666c4ab8c7"):
     gerrit_api_version(
         name = "gerrit_api_version",
         version = version,