Add standalone bazel build

Change-Id: I3d94eede0da5d2e45354fdfc0d60833a7548bcfe
diff --git a/BUILD b/BUILD
new file mode 100644
index 0000000..48c5d1c
--- /dev/null
+++ b/BUILD
@@ -0,0 +1,18 @@
+load("//tools/bzl:plugin.bzl", "gerrit_plugin")
+
+gerrit_plugin(
+    name = "lfs",
+    srcs = glob(["src/main/java/**/*.java"]),
+    manifest_entries = [
+        "Gerrit-PluginName: lfs",
+        "Gerrit-Module: com.googlesource.gerrit.plugins.lfs.Module",
+        "Gerrit-HttpModule: com.googlesource.gerrit.plugins.lfs.HttpModule",
+        "Gerrit-SshModule: com.googlesource.gerrit.plugins.lfs.SshModule",
+    ],
+    resources = glob(["src/main/resources/**/*"]),
+    deps = [
+        "//lib/jgit:jgit-http-apache",
+        "//lib/jgit:jgit-lfs",
+        "//lib/jgit:jgit-lfs-server",
+    ],
+)