xref: /JGit/org.eclipse.jgit.junit.ssh/BUILD (revision 8b589b3bf264075d5748b10197d226a452c4422b)
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/**"]),
118d2d6836SMatthias Sohn    visibility = [
128d2d6836SMatthias Sohn        "//org.eclipse.jgit.ssh.apache.test:__pkg__",
138d2d6836SMatthias Sohn        "//org.eclipse.jgit.ssh.jsch.test:__pkg__",
148d2d6836SMatthias Sohn    ],
151316d43eSThomas Wolf    deps = [
168d2d6836SMatthias Sohn        "//lib:junit",
17*8b589b3bSMatthias Sohn        "//lib:slf4j-api",
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",
228d2d6836SMatthias Sohn        "//org.eclipse.jgit.junit:junit",
231316d43eSThomas Wolf    ],
241316d43eSThomas Wolf)
25