Add dependency to jsch for OpenSshConfigTest to bazel build
Make jsch visible to the test bundle and add the dependency. Change-Id: I0c49ee9b8f64fe8a8c74d2f08865917eb33069b4 Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
This commit is contained in:
parent
f4329b09d4
commit
c506f8d2dd
|
@ -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"],
|
||||
)
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue