Add support for Bazel in Gerrit tree build
Change-Id: I0e7650bff11d0a84e1c066629b3691cbfa8dec87
diff --git a/BUILD b/BUILD
new file mode 100644
index 0000000..e77b68b
--- /dev/null
+++ b/BUILD
@@ -0,0 +1,16 @@
+load("//tools/bzl:plugin.bzl", "gerrit_plugin")
+
+gerrit_plugin(
+ name = "motd",
+ srcs = glob(["src/main/java/**/*.java"]),
+ resources = glob(["src/main/resources/**/*"]),
+ manifest_entries = [
+ "Gerrit-PluginName: motd",
+ "Gerrit-Module: com.googlesource.gerrit.plugins.motd.Module",
+ "Implementation-Title: Message of the Day",
+ "Implementation-URL: https://gerrit.googlesource.com/plugins/motd",
+ ],
+ deps = [
+ "@commons_net//jar:neverlink",
+ ],
+)