Browse Source

Declare LFS dependency on GSON for Bazel build

Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Change-Id: Ia017dd5651756c3b80f18b908fb28ba56b6cbf14
tags/v4.11.0.201803080745-r
Han-Wen Nienhuys 6 years ago
parent
commit
35bb7ccc4c
2 changed files with 5 additions and 1 deletions
  1. 4
    1
      lib/BUILD
  2. 1
    0
      org.eclipse.jgit.lfs/BUILD

+ 4
- 1
lib/BUILD 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"],
)


+ 1
- 0
org.eclipse.jgit.lfs/BUILD 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",
],
)

Loading…
Cancel
Save