diff --git a/lib/BUILD b/lib/BUILD index d2622674e..10496a72e 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 0c7b1b2c4..cd291dadb 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", ], )