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.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  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 = ["@jetty-servlet//jar"],
  120. )
  121. java_library(
  122. name = "jetty-util",
  123. # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
  124. visibility = ["//visibility:public"],
  125. exports = ["@jetty-util//jar"],
  126. )
  127. java_library(
  128. name = "jsch",
  129. visibility = [
  130. "//org.eclipse.jgit:__pkg__",
  131. "//org.eclipse.jgit.junit.ssh:__pkg__",
  132. "//org.eclipse.jgit.ssh.jsch:__pkg__",
  133. "//org.eclipse.jgit.ssh.jsch.test:__pkg__",
  134. ],
  135. exports = ["@jsch//jar"],
  136. )
  137. java_library(
  138. name = "bcpg",
  139. visibility = [
  140. "//org.eclipse.jgit:__pkg__",
  141. "//org.eclipse.jgit.gpg.bc:__pkg__",
  142. "//org.eclipse.jgit.test:__pkg__",
  143. ],
  144. exports = ["@bcpg//jar"],
  145. )
  146. java_library(
  147. name = "bcprov",
  148. visibility = [
  149. "//org.eclipse.jgit:__pkg__",
  150. "//org.eclipse.jgit.gpg.bc:__pkg__",
  151. "//org.eclipse.jgit.test:__pkg__",
  152. ],
  153. exports = ["@bcprov//jar"],
  154. )
  155. java_library(
  156. name = "bcpkix",
  157. visibility = [
  158. "//org.eclipse.jgit:__pkg__",
  159. "//org.eclipse.jgit.gpg.bc:__pkg__",
  160. "//org.eclipse.jgit.test:__pkg__",
  161. ],
  162. exports = ["@bcpkix//jar"],
  163. )
  164. java_library(
  165. name = "jzlib",
  166. visibility = [
  167. "//org.eclipse.jgit:__pkg__",
  168. "//org.eclipse.jgit.ssh.jsch:__pkg__",
  169. "//org.eclipse.jgit.test:__pkg__",
  170. ],
  171. exports = ["@jzlib//jar"],
  172. )
  173. java_library(
  174. name = "junit",
  175. testonly = 1,
  176. visibility = ["//visibility:public"],
  177. exports = [
  178. "@bytebuddy-agent//jar",
  179. "@bytebuddy//jar",
  180. "@hamcrest-core//jar",
  181. "@hamcrest-library//jar",
  182. "@junit//jar",
  183. "@mockito//jar",
  184. "@objenesis//jar",
  185. ],
  186. )
  187. java_library(
  188. name = "mockito",
  189. testonly = 1,
  190. visibility = ["//visibility:public"],
  191. exports = [
  192. "@bytebuddy-agent//jar",
  193. "@bytebuddy//jar",
  194. "@mockito//jar",
  195. "@objenesis//jar",
  196. ],
  197. )
  198. java_library(
  199. name = "assertj-core",
  200. testonly = 1,
  201. visibility = ["//visibility:public"],
  202. exports = [
  203. "@assertj-core//jar",
  204. ],
  205. )
  206. java_library(
  207. name = "servlet-api",
  208. visibility = [
  209. "//org.eclipse.jgit.http.apache:__pkg__",
  210. "//org.eclipse.jgit.http.server:__pkg__",
  211. "//org.eclipse.jgit.http.test:__pkg__",
  212. "//org.eclipse.jgit.junit.http:__pkg__",
  213. "//org.eclipse.jgit.lfs.server:__pkg__",
  214. "//org.eclipse.jgit.lfs.server.test:__pkg__",
  215. "//org.eclipse.jgit.pgm:__pkg__",
  216. ],
  217. exports = ["@servlet-api//jar"],
  218. )
  219. java_library(
  220. name = "slf4j-api",
  221. visibility = ["//visibility:public"],
  222. exports = ["@log-api//jar"],
  223. )
  224. java_library(
  225. name = "slf4j-simple",
  226. testonly = 1,
  227. visibility = ["//visibility:public"],
  228. exports = ["@slf4j-simple//jar"],
  229. )
  230. java_library(
  231. name = "xz",
  232. testonly = 1,
  233. visibility = ["//visibility:public"],
  234. exports = ["@tukaani-xz//jar"],
  235. )