Add support for Bazel in Gerrit tree build

Change-Id: I03a13141b24383f3d002c64ef03ca581ed854ef3
diff --git a/BUILD b/BUILD
new file mode 100644
index 0000000..f032d8e
--- /dev/null
+++ b/BUILD
@@ -0,0 +1,16 @@
+load("//tools/bzl:plugin.bzl", "gerrit_plugin")
+
+gerrit_plugin(
+    name = "groovy-provider",
+    srcs = glob(["src/main/java/**/*.java"]),
+    resources = glob(["src/main/resources/**/*"]),
+    manifest_entries = [
+        "Implementation-Title: Groovy Provider",
+        "Implementation-URL: https://gerrit.googlesource.com/plugins/scripting/groovy-provider",
+        "Gerrit-PluginName: groovy-provider",
+        "Gerrit-Module: com.googlesource.gerrit.plugins.scripting.groovyprovider.Module",
+    ],
+    deps = [
+        "@groovy//jar",
+    ],
+)