
This is the preparation change for using MINA SSHD client in JGit. JGit uses sshd-osgi which is a shaded combination of sshd-common and sshd-core to avoid issues with split packages which bite in an OSGI runtime like Eclipse. Feature: Issue 12599 Change-Id: Ieaf93abf2e26f3b720383279de2aaa970db51377
30 lines
610 B
Python
30 lines
610 B
Python
load("@rules_java//java:defs.bzl", "java_library")
|
|
|
|
java_library(
|
|
name = "sshd",
|
|
data = ["//lib:LICENSE-Apache2.0"],
|
|
visibility = ["//visibility:public"],
|
|
exports = [
|
|
":eddsa",
|
|
"@sshd-mina//jar",
|
|
"@sshd-osgi//jar",
|
|
],
|
|
runtime_deps = [":core"],
|
|
)
|
|
|
|
java_library(
|
|
name = "eddsa",
|
|
data = ["//lib:LICENSE-CC0-1.0"],
|
|
visibility = ["//visibility:public"],
|
|
exports = [
|
|
"@eddsa//jar",
|
|
],
|
|
)
|
|
|
|
java_library(
|
|
name = "core",
|
|
data = ["//lib:LICENSE-Apache2.0"],
|
|
visibility = ["//visibility:public"],
|
|
exports = ["@mina-core//jar"],
|
|
)
|