xref: /JGit/org.eclipse.jgit.junit.ssh/BUILD (revision 8d2d683655e2de17cf465fa46af10e0e56b3aaed)
140ba12f3SDavid Pursehouseload("@rules_java//java:defs.bzl", "java_library")
240ba12f3SDavid Pursehouse
31316d43eSThomas Wolfpackage(default_visibility = ["//visibility:public"])
41316d43eSThomas Wolf
51316d43eSThomas Wolfjava_library(
61316d43eSThomas Wolf    name = "junit-ssh",
71316d43eSThomas Wolf    testonly = 1,
81316d43eSThomas Wolf    srcs = glob(["src/**/*.java"]),
91316d43eSThomas Wolf    resource_strip_prefix = "org.eclipse.jgit.junit.ssh/resources",
101316d43eSThomas Wolf    resources = glob(["resources/**"]),
11*8d2d6836SMatthias Sohn    visibility = [
12*8d2d6836SMatthias Sohn        "//org.eclipse.jgit.ssh.apache.test:__pkg__",
13*8d2d6836SMatthias Sohn        "//org.eclipse.jgit.ssh.jsch.test:__pkg__",
14*8d2d6836SMatthias Sohn    ],
151316d43eSThomas Wolf    deps = [
16*8d2d6836SMatthias Sohn        "//lib:jsch",
17*8d2d6836SMatthias Sohn        "//lib:junit",
1886cee68eSThomas Wolf        "//lib:sshd-osgi",
191316d43eSThomas Wolf        "//lib:sshd-sftp",
201316d43eSThomas Wolf        # We want these deps to be provided_deps
211316d43eSThomas Wolf        "//org.eclipse.jgit:jgit",
22*8d2d6836SMatthias Sohn        "//org.eclipse.jgit.junit:junit",
231316d43eSThomas Wolf    ],
241316d43eSThomas Wolf)
25