2019-09-05 03:46:59 +03:00
|
|
|
load("@rules_java//java:defs.bzl", "java_library")
|
|
|
|
|
2017-03-18 17:13:26 +02:00
|
|
|
java_library(
|
|
|
|
name = "args4j",
|
|
|
|
visibility = [
|
|
|
|
"//org.eclipse.jgit.pgm:__pkg__",
|
|
|
|
"//org.eclipse.jgit.pgm.test:__pkg__",
|
|
|
|
],
|
|
|
|
exports = ["@args4j//jar"],
|
|
|
|
)
|
|
|
|
|
2017-03-20 02:41:26 +02:00
|
|
|
java_library(
|
|
|
|
name = "commons-compress",
|
2017-03-18 17:13:26 +02:00
|
|
|
visibility = [
|
|
|
|
"//org.eclipse.jgit.archive:__pkg__",
|
|
|
|
"//org.eclipse.jgit.pgm.test:__pkg__",
|
2019-07-16 05:41:05 +03:00
|
|
|
"//org.eclipse.jgit.test:__pkg__",
|
2017-03-18 17:13:26 +02:00
|
|
|
],
|
2018-08-30 02:48:41 +03:00
|
|
|
exports = ["@commons-compress//jar"],
|
2017-03-20 02:41:26 +02:00
|
|
|
)
|
|
|
|
|
2017-03-18 17:13:26 +02:00
|
|
|
java_library(
|
|
|
|
name = "commons-codec",
|
2018-08-30 02:48:41 +03:00
|
|
|
exports = ["@commons-codec//jar"],
|
2017-03-18 17:13:26 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
java_library(
|
|
|
|
name = "commons-logging",
|
|
|
|
visibility = ["//visibility:public"],
|
2018-08-30 02:48:41 +03:00
|
|
|
exports = ["@commons-logging//jar"],
|
2017-03-18 17:13:26 +02:00
|
|
|
)
|
|
|
|
|
2018-11-20 00:11:13 +02:00
|
|
|
java_library(
|
|
|
|
name = "eddsa",
|
|
|
|
visibility = [
|
|
|
|
"//org.eclipse.jgit.ssh.apache:__pkg__",
|
|
|
|
"//org.eclipse.jgit.ssh.apache.test:__pkg__",
|
2020-04-24 23:41:39 +03:00
|
|
|
"//org.eclipse.jgit.ssh.jsch.test:__pkg__",
|
2018-11-20 00:11:13 +02:00
|
|
|
],
|
|
|
|
exports = ["@eddsa//jar"],
|
|
|
|
)
|
|
|
|
|
2017-03-20 02:41:26 +02:00
|
|
|
java_library(
|
|
|
|
name = "gson",
|
2018-02-19 11:42:14 +02:00
|
|
|
visibility = [
|
|
|
|
"//org.eclipse.jgit.lfs:__pkg__",
|
|
|
|
"//org.eclipse.jgit.lfs.server:__pkg__",
|
|
|
|
],
|
2017-03-20 02:41:26 +02:00
|
|
|
exports = ["@gson//jar"],
|
|
|
|
)
|
|
|
|
|
|
|
|
java_library(
|
|
|
|
name = "httpclient",
|
2017-03-18 17:13:26 +02:00
|
|
|
visibility = [
|
|
|
|
"//org.eclipse.jgit.http.apache:__pkg__",
|
|
|
|
"//org.eclipse.jgit.lfs.server.test:__pkg__",
|
|
|
|
"//org.eclipse.jgit.pgm:__pkg__",
|
|
|
|
],
|
2017-03-20 02:41:26 +02:00
|
|
|
exports = ["@httpclient//jar"],
|
|
|
|
)
|
|
|
|
|
|
|
|
java_library(
|
|
|
|
name = "httpcore",
|
|
|
|
visibility = [
|
|
|
|
"//org.eclipse.jgit.http.apache:__pkg__",
|
2018-07-19 08:34:56 +03:00
|
|
|
"//org.eclipse.jgit.http.test:__pkg__",
|
2017-03-20 02:41:26 +02:00
|
|
|
"//org.eclipse.jgit.lfs.server:__pkg__",
|
2017-03-18 17:13:26 +02:00
|
|
|
"//org.eclipse.jgit.lfs.server.test:__pkg__",
|
|
|
|
"//org.eclipse.jgit.pgm:__pkg__",
|
2017-03-20 02:41:26 +02:00
|
|
|
],
|
|
|
|
exports = ["@httpcore//jar"],
|
|
|
|
)
|
|
|
|
|
2018-09-14 23:40:08 +03:00
|
|
|
java_library(
|
2019-01-14 18:30:03 +02:00
|
|
|
name = "sshd-osgi",
|
2018-09-14 23:40:08 +03:00
|
|
|
visibility = [
|
2018-11-08 17:58:52 +02:00
|
|
|
"//org.eclipse.jgit.junit.ssh:__pkg__",
|
2018-09-23 17:45:45 +03:00
|
|
|
"//org.eclipse.jgit.ssh.apache:__pkg__",
|
|
|
|
"//org.eclipse.jgit.ssh.apache.test:__pkg__",
|
2018-11-14 04:01:21 +02:00
|
|
|
"//org.eclipse.jgit.test:__pkg__",
|
2018-09-14 23:40:08 +03:00
|
|
|
],
|
2019-01-14 18:30:03 +02:00
|
|
|
exports = ["@sshd-osgi//jar"],
|
2018-09-14 23:40:08 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
java_library(
|
|
|
|
name = "sshd-sftp",
|
|
|
|
visibility = [
|
2018-11-08 17:58:52 +02:00
|
|
|
"//org.eclipse.jgit.junit.ssh:__pkg__",
|
2018-09-23 17:45:45 +03:00
|
|
|
"//org.eclipse.jgit.ssh.apache:__pkg__",
|
|
|
|
"//org.eclipse.jgit.ssh.apache.test:__pkg__",
|
2018-11-14 04:01:21 +02:00
|
|
|
"//org.eclipse.jgit.test:__pkg__",
|
2018-09-14 23:40:08 +03:00
|
|
|
],
|
|
|
|
exports = ["@sshd-sftp//jar"],
|
|
|
|
)
|
|
|
|
|
2017-03-20 02:41:26 +02:00
|
|
|
java_library(
|
|
|
|
name = "javaewah",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
exports = ["@javaewah//jar"],
|
|
|
|
)
|
|
|
|
|
2017-03-18 17:13:26 +02:00
|
|
|
java_library(
|
|
|
|
name = "jetty-http",
|
|
|
|
# TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
|
|
|
|
visibility = ["//visibility:public"],
|
2018-08-30 02:48:41 +03:00
|
|
|
exports = ["@jetty-http//jar"],
|
2017-03-18 17:13:26 +02:00
|
|
|
runtime_deps = [":commons-codec"],
|
|
|
|
)
|
|
|
|
|
|
|
|
java_library(
|
|
|
|
name = "jetty-io",
|
|
|
|
# TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
|
|
|
|
visibility = ["//visibility:public"],
|
2018-08-30 02:48:41 +03:00
|
|
|
exports = ["@jetty-io//jar"],
|
2017-03-18 17:13:26 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
java_library(
|
|
|
|
name = "jetty-security",
|
|
|
|
# TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
|
|
|
|
visibility = ["//visibility:public"],
|
2018-08-30 02:48:41 +03:00
|
|
|
exports = ["@jetty-security//jar"],
|
2017-03-18 17:13:26 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
java_library(
|
|
|
|
name = "jetty-server",
|
|
|
|
# TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
|
|
|
|
visibility = ["//visibility:public"],
|
2018-08-30 02:48:41 +03:00
|
|
|
exports = ["@jetty-server//jar"],
|
2017-03-18 17:13:26 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
java_library(
|
|
|
|
name = "jetty-servlet",
|
|
|
|
# TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
|
|
|
|
visibility = ["//visibility:public"],
|
2018-08-30 02:48:41 +03:00
|
|
|
exports = ["@jetty-servlet//jar"],
|
2017-03-18 17:13:26 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
java_library(
|
|
|
|
name = "jetty-util",
|
|
|
|
# TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
|
|
|
|
visibility = ["//visibility:public"],
|
2018-08-30 02:48:41 +03:00
|
|
|
exports = ["@jetty-util//jar"],
|
2017-03-18 17:13:26 +02:00
|
|
|
)
|
|
|
|
|
2017-03-20 02:41:26 +02:00
|
|
|
java_library(
|
|
|
|
name = "jsch",
|
2017-08-31 15:14:05 +03:00
|
|
|
visibility = [
|
|
|
|
"//org.eclipse.jgit:__pkg__",
|
2020-04-24 23:41:39 +03:00
|
|
|
"//org.eclipse.jgit.junit.ssh:__pkg__",
|
|
|
|
"//org.eclipse.jgit.ssh.jsch:__pkg__",
|
|
|
|
"//org.eclipse.jgit.ssh.jsch.test:__pkg__",
|
2017-08-31 15:14:05 +03:00
|
|
|
],
|
2017-03-20 02:41:26 +02:00
|
|
|
exports = ["@jsch//jar"],
|
|
|
|
)
|
|
|
|
|
2018-12-03 21:13:27 +02:00
|
|
|
java_library(
|
|
|
|
name = "bcpg",
|
|
|
|
visibility = [
|
|
|
|
"//org.eclipse.jgit:__pkg__",
|
2020-04-27 01:58:28 +03:00
|
|
|
"//org.eclipse.jgit.gpg.bc:__pkg__",
|
2018-12-03 21:13:27 +02:00
|
|
|
"//org.eclipse.jgit.test:__pkg__",
|
|
|
|
],
|
2019-05-16 19:56:12 +03:00
|
|
|
exports = ["@bcpg//jar"],
|
2018-12-03 21:13:27 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
java_library(
|
|
|
|
name = "bcprov",
|
|
|
|
visibility = [
|
|
|
|
"//org.eclipse.jgit:__pkg__",
|
2020-04-27 01:58:28 +03:00
|
|
|
"//org.eclipse.jgit.gpg.bc:__pkg__",
|
2018-12-03 21:13:27 +02:00
|
|
|
"//org.eclipse.jgit.test:__pkg__",
|
|
|
|
],
|
2019-05-16 19:56:12 +03:00
|
|
|
exports = ["@bcprov//jar"],
|
2018-12-03 21:13:27 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
java_library(
|
|
|
|
name = "bcpkix",
|
|
|
|
visibility = [
|
|
|
|
"//org.eclipse.jgit:__pkg__",
|
2020-04-27 01:58:28 +03:00
|
|
|
"//org.eclipse.jgit.gpg.bc:__pkg__",
|
2018-12-03 21:13:27 +02:00
|
|
|
"//org.eclipse.jgit.test:__pkg__",
|
|
|
|
],
|
2019-05-16 19:56:12 +03:00
|
|
|
exports = ["@bcpkix//jar"],
|
2018-12-03 21:13:27 +02:00
|
|
|
)
|
|
|
|
|
2018-01-03 02:09:57 +02:00
|
|
|
java_library(
|
|
|
|
name = "jzlib",
|
|
|
|
visibility = [
|
|
|
|
"//org.eclipse.jgit:__pkg__",
|
2020-04-24 23:41:39 +03:00
|
|
|
"//org.eclipse.jgit.ssh.jsch:__pkg__",
|
2018-01-03 02:09:57 +02:00
|
|
|
"//org.eclipse.jgit.test:__pkg__",
|
|
|
|
],
|
|
|
|
exports = ["@jzlib//jar"],
|
|
|
|
)
|
|
|
|
|
2017-03-20 02:41:26 +02:00
|
|
|
java_library(
|
|
|
|
name = "junit",
|
2017-03-20 03:52:55 +02:00
|
|
|
testonly = 1,
|
|
|
|
visibility = ["//visibility:public"],
|
2017-03-23 07:44:51 +02:00
|
|
|
exports = [
|
2019-08-12 13:02:59 +03:00
|
|
|
"@bytebuddy-agent//jar",
|
2019-09-07 03:32:19 +03:00
|
|
|
"@bytebuddy//jar",
|
2018-08-30 02:48:41 +03:00
|
|
|
"@hamcrest-core//jar",
|
|
|
|
"@hamcrest-library//jar",
|
2017-08-18 01:22:11 +03:00
|
|
|
"@junit//jar",
|
2019-08-19 18:52:02 +03:00
|
|
|
"@mockito//jar",
|
2019-09-07 12:07:21 +03:00
|
|
|
"@objenesis//jar",
|
2017-03-18 17:13:26 +02:00
|
|
|
],
|
2017-03-20 02:41:26 +02:00
|
|
|
)
|
|
|
|
|
2018-11-28 21:16:23 +02:00
|
|
|
java_library(
|
|
|
|
name = "mockito",
|
|
|
|
testonly = 1,
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
exports = [
|
2019-08-19 18:52:02 +03:00
|
|
|
"@bytebuddy-agent//jar",
|
2019-09-08 04:09:07 +03:00
|
|
|
"@bytebuddy//jar",
|
2018-12-02 14:02:22 +02:00
|
|
|
"@mockito//jar",
|
2018-11-28 21:16:23 +02:00
|
|
|
"@objenesis//jar",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2020-01-22 01:48:24 +02:00
|
|
|
java_library(
|
|
|
|
name = "assertj-core",
|
|
|
|
testonly = 1,
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
exports = [
|
|
|
|
"@assertj-core//jar",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2017-03-20 02:41:26 +02:00
|
|
|
java_library(
|
|
|
|
name = "servlet-api",
|
|
|
|
visibility = [
|
|
|
|
"//org.eclipse.jgit.http.apache:__pkg__",
|
|
|
|
"//org.eclipse.jgit.http.server:__pkg__",
|
2017-03-18 17:13:26 +02:00
|
|
|
"//org.eclipse.jgit.http.test:__pkg__",
|
|
|
|
"//org.eclipse.jgit.junit.http:__pkg__",
|
2017-03-20 02:41:26 +02:00
|
|
|
"//org.eclipse.jgit.lfs.server:__pkg__",
|
2017-03-18 17:13:26 +02:00
|
|
|
"//org.eclipse.jgit.lfs.server.test:__pkg__",
|
|
|
|
"//org.eclipse.jgit.pgm:__pkg__",
|
2017-03-20 02:41:26 +02:00
|
|
|
],
|
2019-10-01 20:01:22 +03:00
|
|
|
exports = ["@servlet-api//jar"],
|
2017-03-20 02:41:26 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
java_library(
|
|
|
|
name = "slf4j-api",
|
|
|
|
visibility = ["//visibility:public"],
|
2018-08-30 02:48:41 +03:00
|
|
|
exports = ["@log-api//jar"],
|
2017-03-20 02:41:26 +02:00
|
|
|
)
|
2017-03-18 17:13:26 +02:00
|
|
|
|
|
|
|
java_library(
|
|
|
|
name = "slf4j-simple",
|
|
|
|
testonly = 1,
|
|
|
|
visibility = ["//visibility:public"],
|
2018-08-30 02:48:41 +03:00
|
|
|
exports = ["@slf4j-simple//jar"],
|
2017-03-18 17:13:26 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
java_library(
|
|
|
|
name = "xz",
|
|
|
|
testonly = 1,
|
|
|
|
visibility = ["//visibility:public"],
|
2018-08-30 02:48:41 +03:00
|
|
|
exports = ["@tukaani-xz//jar"],
|
2017-03-18 17:13:26 +02:00
|
|
|
)
|