123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269 |
- load("@rules_java//java:defs.bzl", "java_library")
-
- java_library(
- name = "args4j",
- visibility = [
- "//org.eclipse.jgit.pgm:__pkg__",
- "//org.eclipse.jgit.pgm.test:__pkg__",
- ],
- exports = ["@args4j//jar"],
- )
-
- java_library(
- name = "commons-compress",
- visibility = [
- "//org.eclipse.jgit.archive:__pkg__",
- "//org.eclipse.jgit.pgm.test:__pkg__",
- "//org.eclipse.jgit.test:__pkg__",
- ],
- exports = ["@commons-compress//jar"],
- )
-
- java_library(
- name = "commons-codec",
- exports = ["@commons-codec//jar"],
- )
-
- java_library(
- name = "commons-logging",
- visibility = ["//visibility:public"],
- exports = ["@commons-logging//jar"],
- )
-
- java_library(
- name = "eddsa",
- visibility = [
- "//org.eclipse.jgit.ssh.apache:__pkg__",
- "//org.eclipse.jgit.ssh.apache.test:__pkg__",
- "//org.eclipse.jgit.ssh.jsch.test:__pkg__",
- ],
- exports = ["@eddsa//jar"],
- )
-
- java_library(
- name = "gson",
- visibility = [
- "//org.eclipse.jgit.lfs:__pkg__",
- "//org.eclipse.jgit.lfs.server:__pkg__",
- ],
- exports = ["@gson//jar"],
- )
-
- java_library(
- name = "httpclient",
- visibility = [
- "//org.eclipse.jgit.http.apache:__pkg__",
- "//org.eclipse.jgit.lfs.server.test:__pkg__",
- "//org.eclipse.jgit.pgm:__pkg__",
- ],
- exports = ["@httpclient//jar"],
- )
-
- java_library(
- name = "httpcore",
- visibility = [
- "//org.eclipse.jgit.http.apache:__pkg__",
- "//org.eclipse.jgit.http.test:__pkg__",
- "//org.eclipse.jgit.lfs.server:__pkg__",
- "//org.eclipse.jgit.lfs.server.test:__pkg__",
- "//org.eclipse.jgit.pgm:__pkg__",
- ],
- exports = ["@httpcore//jar"],
- )
-
- java_library(
- name = "sshd-osgi",
- visibility = [
- "//org.eclipse.jgit.junit.ssh:__pkg__",
- "//org.eclipse.jgit.ssh.apache:__pkg__",
- "//org.eclipse.jgit.ssh.apache.test:__pkg__",
- "//org.eclipse.jgit.test:__pkg__",
- ],
- exports = ["@sshd-osgi//jar"],
- )
-
- java_library(
- name = "sshd-sftp",
- visibility = [
- "//org.eclipse.jgit.junit.ssh:__pkg__",
- "//org.eclipse.jgit.ssh.apache:__pkg__",
- "//org.eclipse.jgit.ssh.apache.test:__pkg__",
- "//org.eclipse.jgit.test:__pkg__",
- ],
- exports = ["@sshd-sftp//jar"],
- )
-
- java_library(
- name = "javaewah",
- visibility = ["//visibility:public"],
- exports = ["@javaewah//jar"],
- )
-
- java_library(
- name = "jetty-http",
- # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
- visibility = ["//visibility:public"],
- exports = ["@jetty-http//jar"],
- 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"],
- exports = ["@jetty-io//jar"],
- )
-
- java_library(
- name = "jetty-security",
- # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
- visibility = ["//visibility:public"],
- exports = ["@jetty-security//jar"],
- )
-
- java_library(
- name = "jetty-server",
- # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
- visibility = ["//visibility:public"],
- exports = ["@jetty-server//jar"],
- )
-
- java_library(
- name = "jetty-servlet",
- # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
- visibility = ["//visibility:public"],
- exports = [
- "@jetty-servlet//jar",
- "@jetty-util-ajax//jar",
- ],
- )
-
- java_library(
- name = "jetty-util",
- # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
- visibility = ["//visibility:public"],
- exports = ["@jetty-util//jar"],
- )
-
- java_library(
- name = "jsch",
- visibility = [
- "//org.eclipse.jgit:__pkg__",
- "//org.eclipse.jgit.junit.ssh:__pkg__",
- "//org.eclipse.jgit.ssh.jsch:__pkg__",
- "//org.eclipse.jgit.ssh.jsch.test:__pkg__",
- ],
- exports = ["@jsch//jar"],
- )
-
- java_library(
- name = "bcpg",
- visibility = [
- "//org.eclipse.jgit:__pkg__",
- "//org.eclipse.jgit.gpg.bc:__pkg__",
- "//org.eclipse.jgit.test:__pkg__",
- "//org.eclipse.jgit.gpg.bc.test:__pkg__",
- ],
- exports = ["@bcpg//jar"],
- )
-
- java_library(
- name = "bcprov",
- visibility = [
- "//org.eclipse.jgit:__pkg__",
- "//org.eclipse.jgit.gpg.bc:__pkg__",
- "//org.eclipse.jgit.test:__pkg__",
- "//org.eclipse.jgit.gpg.bc.test:__pkg__",
- ],
- exports = ["@bcprov//jar"],
- )
-
- java_library(
- name = "bcpkix",
- visibility = [
- "//org.eclipse.jgit:__pkg__",
- "//org.eclipse.jgit.gpg.bc:__pkg__",
- "//org.eclipse.jgit.test:__pkg__",
- ],
- exports = ["@bcpkix//jar"],
- )
-
- java_library(
- name = "jzlib",
- visibility = [
- "//org.eclipse.jgit:__pkg__",
- "//org.eclipse.jgit.ssh.jsch:__pkg__",
- "//org.eclipse.jgit.test:__pkg__",
- ],
- exports = ["@jzlib//jar"],
- )
-
- java_library(
- name = "junit",
- testonly = 1,
- visibility = ["//visibility:public"],
- exports = [
- "@bytebuddy-agent//jar",
- "@bytebuddy//jar",
- "@hamcrest-core//jar",
- "@hamcrest-library//jar",
- "@junit//jar",
- "@mockito//jar",
- "@objenesis//jar",
- ],
- )
-
- java_library(
- name = "mockito",
- testonly = 1,
- visibility = ["//visibility:public"],
- exports = [
- "@bytebuddy-agent//jar",
- "@bytebuddy//jar",
- "@mockito//jar",
- "@objenesis//jar",
- ],
- )
-
- java_library(
- name = "assertj-core",
- testonly = 1,
- visibility = ["//visibility:public"],
- exports = [
- "@assertj-core//jar",
- ],
- )
-
- java_library(
- name = "servlet-api",
- visibility = [
- "//org.eclipse.jgit.http.apache:__pkg__",
- "//org.eclipse.jgit.http.server:__pkg__",
- "//org.eclipse.jgit.http.test:__pkg__",
- "//org.eclipse.jgit.junit.http:__pkg__",
- "//org.eclipse.jgit.lfs.server:__pkg__",
- "//org.eclipse.jgit.lfs.server.test:__pkg__",
- "//org.eclipse.jgit.pgm:__pkg__",
- ],
- exports = ["@servlet-api//jar"],
- )
-
- java_library(
- name = "slf4j-api",
- visibility = ["//visibility:public"],
- exports = ["@log-api//jar"],
- )
-
- java_library(
- name = "slf4j-simple",
- testonly = 1,
- visibility = ["//visibility:public"],
- exports = ["@slf4j-simple//jar"],
- )
-
- java_library(
- name = "xz",
- testonly = 1,
- visibility = ["//visibility:public"],
- exports = ["@tukaani-xz//jar"],
- )
|