You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

BUILD 6.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. load("@rules_java//java:defs.bzl", "java_library")
  2. java_library(
  3. name = "args4j",
  4. visibility = [
  5. "//org.eclipse.jgit.pgm:__pkg__",
  6. "//org.eclipse.jgit.pgm.test:__pkg__",
  7. ],
  8. exports = ["@args4j//jar"],
  9. )
  10. java_library(
  11. name = "commons-compress",
  12. visibility = [
  13. "//org.eclipse.jgit.archive:__pkg__",
  14. "//org.eclipse.jgit.pgm.test:__pkg__",
  15. "//org.eclipse.jgit.test:__pkg__",
  16. ],
  17. exports = ["@commons-compress//jar"],
  18. )
  19. java_library(
  20. name = "commons-codec",
  21. exports = ["@commons-codec//jar"],
  22. )
  23. java_library(
  24. name = "commons-logging",
  25. visibility = ["//visibility:public"],
  26. exports = ["@commons-logging//jar"],
  27. )
  28. java_library(
  29. name = "eddsa",
  30. visibility = [
  31. "//org.eclipse.jgit.ssh.apache:__pkg__",
  32. "//org.eclipse.jgit.ssh.apache.test:__pkg__",
  33. "//org.eclipse.jgit.ssh.jsch.test:__pkg__",
  34. ],
  35. exports = ["@eddsa//jar"],
  36. )
  37. java_library(
  38. name = "gson",
  39. visibility = [
  40. "//org.eclipse.jgit.lfs:__pkg__",
  41. "//org.eclipse.jgit.lfs.server:__pkg__",
  42. ],
  43. exports = ["@gson//jar"],
  44. )
  45. java_library(
  46. name = "httpclient",
  47. visibility = [
  48. "//org.eclipse.jgit.http.apache:__pkg__",
  49. "//org.eclipse.jgit.lfs.server.test:__pkg__",
  50. "//org.eclipse.jgit.pgm:__pkg__",
  51. ],
  52. exports = ["@httpclient//jar"],
  53. )
  54. java_library(
  55. name = "httpcore",
  56. visibility = [
  57. "//org.eclipse.jgit.http.apache:__pkg__",
  58. "//org.eclipse.jgit.http.test:__pkg__",
  59. "//org.eclipse.jgit.lfs.server:__pkg__",
  60. "//org.eclipse.jgit.lfs.server.test:__pkg__",
  61. "//org.eclipse.jgit.pgm:__pkg__",
  62. ],
  63. exports = ["@httpcore//jar"],
  64. )
  65. java_library(
  66. name = "sshd-osgi",
  67. visibility = [
  68. "//org.eclipse.jgit.junit.ssh:__pkg__",
  69. "//org.eclipse.jgit.ssh.apache:__pkg__",
  70. "//org.eclipse.jgit.ssh.apache.test:__pkg__",
  71. "//org.eclipse.jgit.test:__pkg__",
  72. ],
  73. exports = ["@sshd-osgi//jar"],
  74. )
  75. java_library(
  76. name = "sshd-sftp",
  77. visibility = [
  78. "//org.eclipse.jgit.junit.ssh:__pkg__",
  79. "//org.eclipse.jgit.ssh.apache:__pkg__",
  80. "//org.eclipse.jgit.ssh.apache.test:__pkg__",
  81. "//org.eclipse.jgit.test:__pkg__",
  82. ],
  83. exports = ["@sshd-sftp//jar"],
  84. )
  85. java_library(
  86. name = "javaewah",
  87. visibility = ["//visibility:public"],
  88. exports = ["@javaewah//jar"],
  89. )
  90. java_library(
  91. name = "jetty-http",
  92. # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
  93. visibility = ["//visibility:public"],
  94. exports = ["@jetty-http//jar"],
  95. runtime_deps = [":commons-codec"],
  96. )
  97. java_library(
  98. name = "jetty-io",
  99. # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
  100. visibility = ["//visibility:public"],
  101. exports = ["@jetty-io//jar"],
  102. )
  103. java_library(
  104. name = "jetty-security",
  105. # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
  106. visibility = ["//visibility:public"],
  107. exports = ["@jetty-security//jar"],
  108. )
  109. java_library(
  110. name = "jetty-server",
  111. # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
  112. visibility = ["//visibility:public"],
  113. exports = ["@jetty-server//jar"],
  114. )
  115. java_library(
  116. name = "jetty-servlet",
  117. # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
  118. visibility = ["//visibility:public"],
  119. exports = [
  120. "@jetty-servlet//jar",
  121. "@jetty-util-ajax//jar",
  122. ],
  123. )
  124. java_library(
  125. name = "jetty-util",
  126. # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
  127. visibility = ["//visibility:public"],
  128. exports = ["@jetty-util//jar"],
  129. )
  130. java_library(
  131. name = "jsch",
  132. visibility = [
  133. "//org.eclipse.jgit:__pkg__",
  134. "//org.eclipse.jgit.junit.ssh:__pkg__",
  135. "//org.eclipse.jgit.ssh.jsch:__pkg__",
  136. "//org.eclipse.jgit.ssh.jsch.test:__pkg__",
  137. ],
  138. exports = ["@jsch//jar"],
  139. )
  140. java_library(
  141. name = "bcpg",
  142. visibility = [
  143. "//org.eclipse.jgit:__pkg__",
  144. "//org.eclipse.jgit.gpg.bc:__pkg__",
  145. "//org.eclipse.jgit.gpg.bc.test:__pkg__",
  146. "//org.eclipse.jgit.test:__pkg__",
  147. ],
  148. exports = ["@bcpg//jar"],
  149. )
  150. java_library(
  151. name = "bcprov",
  152. visibility = [
  153. "//org.eclipse.jgit:__pkg__",
  154. "//org.eclipse.jgit.gpg.bc:__pkg__",
  155. "//org.eclipse.jgit.gpg.bc.test:__pkg__",
  156. "//org.eclipse.jgit.test:__pkg__",
  157. ],
  158. exports = ["@bcprov//jar"],
  159. )
  160. java_library(
  161. name = "bcpkix",
  162. visibility = [
  163. "//org.eclipse.jgit:__pkg__",
  164. "//org.eclipse.jgit.gpg.bc:__pkg__",
  165. "//org.eclipse.jgit.test:__pkg__",
  166. ],
  167. exports = ["@bcpkix//jar"],
  168. )
  169. java_library(
  170. name = "jzlib",
  171. visibility = [
  172. "//org.eclipse.jgit:__pkg__",
  173. "//org.eclipse.jgit.ssh.jsch:__pkg__",
  174. "//org.eclipse.jgit.test:__pkg__",
  175. ],
  176. exports = ["@jzlib//jar"],
  177. )
  178. java_library(
  179. name = "junit",
  180. testonly = 1,
  181. visibility = ["//visibility:public"],
  182. exports = [
  183. "@bytebuddy-agent//jar",
  184. "@bytebuddy//jar",
  185. "@hamcrest-core//jar",
  186. "@hamcrest-library//jar",
  187. "@junit//jar",
  188. "@mockito//jar",
  189. "@objenesis//jar",
  190. ],
  191. )
  192. java_library(
  193. name = "mockito",
  194. testonly = 1,
  195. visibility = ["//visibility:public"],
  196. exports = [
  197. "@bytebuddy-agent//jar",
  198. "@bytebuddy//jar",
  199. "@mockito//jar",
  200. "@objenesis//jar",
  201. ],
  202. )
  203. java_library(
  204. name = "assertj-core",
  205. testonly = 1,
  206. visibility = ["//visibility:public"],
  207. exports = [
  208. "@assertj-core//jar",
  209. ],
  210. )
  211. java_library(
  212. name = "servlet-api",
  213. visibility = [
  214. "//org.eclipse.jgit.http.apache:__pkg__",
  215. "//org.eclipse.jgit.http.server:__pkg__",
  216. "//org.eclipse.jgit.http.test:__pkg__",
  217. "//org.eclipse.jgit.junit.http:__pkg__",
  218. "//org.eclipse.jgit.lfs.server:__pkg__",
  219. "//org.eclipse.jgit.lfs.server.test:__pkg__",
  220. "//org.eclipse.jgit.pgm:__pkg__",
  221. ],
  222. exports = ["@servlet-api//jar"],
  223. )
  224. java_library(
  225. name = "slf4j-api",
  226. visibility = ["//visibility:public"],
  227. exports = ["@log-api//jar"],
  228. )
  229. java_library(
  230. name = "slf4j-simple",
  231. testonly = 1,
  232. visibility = ["//visibility:public"],
  233. exports = ["@slf4j-simple//jar"],
  234. )
  235. java_library(
  236. name = "xz",
  237. testonly = 1,
  238. visibility = ["//visibility:public"],
  239. exports = ["@tukaani-xz//jar"],
  240. )