Externally depend on easymock until using mockito

As easymock was recently replaced with mockito in master snapshot API.

Update bazlets to latest master.

Bug: Issue 11667
Change-Id: Id6397bac73ebc040f16d61e56398c2ff9a187628
diff --git a/BUILD b/BUILD
index 2bbfec0..c67d1a6 100644
--- a/BUILD
+++ b/BUILD
@@ -35,5 +35,6 @@
     visibility = ["//visibility:public"],
     exports = PLUGIN_DEPS + PLUGIN_TEST_DEPS + [
         ":heartbeat__plugin",
+        "@easymock//jar",
     ],
 )
diff --git a/WORKSPACE b/WORKSPACE
index e767014..15af700 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -3,7 +3,7 @@
 load("//:bazlets.bzl", "load_bazlets")
 
 load_bazlets(
-    commit = "7744d119c623494f7c7ec621e20cd66ea5bc04f6",
+    commit = "bf900bbe58f7a7802799d6d6477567b05ab2f399",
     #local_path = "/home/<user>/projects/bazlets",
 )
 
@@ -24,3 +24,7 @@
 
 # Load release Plugin API
 #gerrit_api()
+
+load("//:external_plugin_deps.bzl", "external_plugin_deps")
+
+external_plugin_deps()
diff --git a/external_plugin_deps.bzl b/external_plugin_deps.bzl
new file mode 100644
index 0000000..4291efc
--- /dev/null
+++ b/external_plugin_deps.bzl
@@ -0,0 +1,24 @@
+load("//tools/bzl:maven_jar.bzl", "maven_jar")
+
+def external_plugin_deps():
+    maven_jar(
+        name = "easymock",
+        artifact = "org.easymock:easymock:3.1",
+        sha1 = "3e127311a86fc2e8f550ef8ee4abe094bbcf7e7e",
+        deps = [
+            "@cglib//jar",
+            "@objenesis//jar",
+        ],
+    )
+
+    maven_jar(
+        name = "cglib",
+        artifact = "cglib:cglib-nodep:3.2.6",
+        sha1 = "92bf48723d277d6efd1150b2f7e9e1e92cb56caf",
+    )
+
+    maven_jar(
+        name = "objenesis",
+        artifact = "org.objenesis:objenesis:2.6",
+        sha1 = "639033469776fd37c08358c6b92a4761feb2af4b",
+    )
diff --git a/tools/bzl/maven_jar.bzl b/tools/bzl/maven_jar.bzl
new file mode 100644
index 0000000..35ea8ce
--- /dev/null
+++ b/tools/bzl/maven_jar.bzl
@@ -0,0 +1,3 @@
+load("@com_googlesource_gerrit_bazlets//tools:maven_jar.bzl", _maven_jar = "maven_jar")
+
+maven_jar = _maven_jar