summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHan-Wen Nienhuys <hanwen@google.com>2018-02-19 10:42:14 +0100
committerDavid Pursehouse <david.pursehouse@gmail.com>2018-02-19 19:06:38 +0900
commit35bb7ccc4c9ac39a8dd56dc1c192793cf128b171 (patch)
tree9eb3f8c53d175bca3cf997c36dd4eec6a5640cc2
parent44f0a01f2496fc8c5f0c4ff0d2f994c7fc04822c (diff)
downloadjgit-35bb7ccc4c9ac39a8dd56dc1c192793cf128b171.tar.gz
jgit-35bb7ccc4c9ac39a8dd56dc1c192793cf128b171.zip
Declare LFS dependency on GSON for Bazel build
Signed-off-by: Han-Wen Nienhuys <hanwen@google.com> Change-Id: Ia017dd5651756c3b80f18b908fb28ba56b6cbf14
-rw-r--r--lib/BUILD5
-rw-r--r--org.eclipse.jgit.lfs/BUILD1
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/BUILD b/lib/BUILD
index d2622674e1..10496a72e8 100644
--- a/lib/BUILD
+++ b/lib/BUILD
@@ -30,7 +30,10 @@ java_library(
java_library(
name = "gson",
- visibility = ["//org.eclipse.jgit.lfs.server:__pkg__"],
+ visibility = [
+ "//org.eclipse.jgit.lfs:__pkg__",
+ "//org.eclipse.jgit.lfs.server:__pkg__",
+ ],
exports = ["@gson//jar"],
)
diff --git a/org.eclipse.jgit.lfs/BUILD b/org.eclipse.jgit.lfs/BUILD
index 0c7b1b2c4c..cd291dadb9 100644
--- a/org.eclipse.jgit.lfs/BUILD
+++ b/org.eclipse.jgit.lfs/BUILD
@@ -6,6 +6,7 @@ java_library(
resource_strip_prefix = "org.eclipse.jgit.lfs/resources",
resources = glob(["resources/**"]),
deps = [
+ "//lib:gson",
"//org.eclipse.jgit:jgit",
],
)