1load("@rules_java//java:defs.bzl", "java_library") 2 3package(default_visibility = ["//visibility:public"]) 4 5java_library( 6 name = "junit-ssh", 7 testonly = 1, 8 srcs = glob(["src/**/*.java"]), 9 resource_strip_prefix = "org.eclipse.jgit.junit.ssh/resources", 10 resources = glob(["resources/**"]), 11 visibility = [ 12 "//org.eclipse.jgit.ssh.apache.test:__pkg__", 13 "//org.eclipse.jgit.ssh.jsch.test:__pkg__", 14 ], 15 deps = [ 16 "//lib:junit", 17 "//lib:slf4j-api", 18 "//lib:sshd-osgi", 19 "//lib:sshd-sftp", 20 # We want these deps to be provided_deps 21 "//org.eclipse.jgit:jgit", 22 "//org.eclipse.jgit.junit:junit", 23 ], 24) 25