diff options
-rw-r--r-- | BUILD | 1 | ||||
-rw-r--r-- | lib/BUILD | 3 | ||||
-rw-r--r-- | org.eclipse.jgit.junit/BUILD | 1 |
3 files changed, 4 insertions, 1 deletions
@@ -2,6 +2,7 @@ package(default_visibility = ["//visibility:public"]) genrule( name = "all", + testonly = 1, srcs = [ "//org.eclipse.jgit:jgit", "//org.eclipse.jgit.archive:jgit-archive", @@ -39,7 +39,8 @@ java_library( java_library( name = "junit", - visibility = ["//org.eclipse.jgit.junit:__pkg__"], + testonly = 1, + visibility = ["//visibility:public"], exports = ["@junit//jar"], ) diff --git a/org.eclipse.jgit.junit/BUILD b/org.eclipse.jgit.junit/BUILD index 15a39c7cd7..350b25f97d 100644 --- a/org.eclipse.jgit.junit/BUILD +++ b/org.eclipse.jgit.junit/BUILD @@ -2,6 +2,7 @@ package(default_visibility = ["//visibility:public"]) java_library( name = "junit", + testonly = 1, srcs = glob(["src/**"]), resource_strip_prefix = "org.eclipse.jgit.junit/resources", resources = glob(["resources/**"]), |