Skip to content

Commit

Permalink
Declare LFS dependency on GSON for Bazel build
Browse files Browse the repository at this point in the history
Signed-off-by: Han-Wen Nienhuys <[email protected]>
Change-Id: Ia017dd5651756c3b80f18b908fb28ba56b6cbf14
  • Loading branch information
hanwen authored and dpursehouse committed Feb 19, 2018
1 parent 44f0a01 commit 35bb7cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
)

Expand Down
1 change: 1 addition & 0 deletions org.eclipse.jgit.lfs/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ java_library(
resource_strip_prefix = "org.eclipse.jgit.lfs/resources",
resources = glob(["resources/**"]),
deps = [
"//lib:gson",
"//org.eclipse.jgit:jgit",
],
)

0 comments on commit 35bb7cc

Please sign in to comment.