Build with API version 2.12

Change-Id: I6fdfed370625dede32e5cd0f2e6ef55c4a4a49cb
diff --git a/lib/gerrit/BUCK b/lib/gerrit/BUCK
index ae4d89f..9915de7 100644
--- a/lib/gerrit/BUCK
+++ b/lib/gerrit/BUCK
@@ -1,11 +1,12 @@
 include_defs('//bucklets/maven_jar.bucklet')
 
-VER = '2.12-SNAPSHOT'
-REPO = MAVEN_LOCAL
+VER = '2.12'
+REPO = MAVEN_CENTRAL
 
 maven_jar(
   name = 'plugin-api',
   id = 'com.google.gerrit:gerrit-plugin-api:' + VER,
+  sha1 = '8ce1f6e65078bbcf03a1758f96b3ebca19b7fe3c',
   attach_source = False,
   repository = REPO,
   license = 'Apache2.0',