Browse Source

Declare LFS dependency on GSON for Bazel build

Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Change-Id: Ia017dd5651756c3b80f18b908fb28ba56b6cbf14
stable-4.11
Han-Wen Nienhuys 7 years ago committed by David Pursehouse
parent
commit
35bb7ccc4c
  1. 5
      lib/BUILD
  2. 1
      org.eclipse.jgit.lfs/BUILD

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

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

Loading…
Cancel
Save