Declare LFS dependency on GSON for Bazel build

Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Change-Id: Ia017dd5651756c3b80f18b908fb28ba56b6cbf14
This commit is contained in:
Han-Wen Nienhuys 2018-02-19 10:42:14 +01:00 committed by David Pursehouse
parent 44f0a01f24
commit 35bb7ccc4c
2 changed files with 5 additions and 1 deletions

View File

@ -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"],
)

View File

@ -6,6 +6,7 @@ java_library(
resource_strip_prefix = "org.eclipse.jgit.lfs/resources",
resources = glob(["resources/**"]),
deps = [
"//lib:gson",
"//org.eclipse.jgit:jgit",
],
)