diff options
-rw-r--r-- | lib/BUILD | 5 | ||||
-rw-r--r-- | org.eclipse.jgit.test/tests.bzl | 4 |
2 files changed, 8 insertions, 1 deletions
@@ -106,7 +106,10 @@ java_library( java_library( name = "jsch", - visibility = ["//org.eclipse.jgit:__pkg__"], + visibility = [ + "//org.eclipse.jgit:__pkg__", + "//org.eclipse.jgit.test:__pkg__", + ], exports = ["@jsch//jar"], ) diff --git a/org.eclipse.jgit.test/tests.bzl b/org.eclipse.jgit.test/tests.bzl index 9cadc7463a..3c42306db2 100644 --- a/org.eclipse.jgit.test/tests.bzl +++ b/org.eclipse.jgit.test/tests.bzl @@ -29,6 +29,10 @@ def tests(tests): additional_deps = [ '//org.eclipse.jgit:insecure_cipher_factory', ] + if src.endswith("OpenSshConfigTest.java"): + additional_deps = [ + '//lib:jsch', + ] junit_tests( name = name, |