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 5.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  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. ],
  34. exports = ["@eddsa//jar"],
  35. )
  36. java_library(
  37. name = "gson",
  38. visibility = [
  39. "//org.eclipse.jgit.lfs:__pkg__",
  40. "//org.eclipse.jgit.lfs.server:__pkg__",
  41. ],
  42. exports = ["@gson//jar"],
  43. )
  44. java_library(
  45. name = "httpclient",
  46. visibility = [
  47. "//org.eclipse.jgit.http.apache:__pkg__",
  48. "//org.eclipse.jgit.lfs.server.test:__pkg__",
  49. "//org.eclipse.jgit.pgm:__pkg__",
  50. ],
  51. exports = ["@httpclient//jar"],
  52. )
  53. java_library(
  54. name = "httpcore",
  55. visibility = [
  56. "//org.eclipse.jgit.http.apache:__pkg__",
  57. "//org.eclipse.jgit.http.test:__pkg__",
  58. "//org.eclipse.jgit.lfs.server:__pkg__",
  59. "//org.eclipse.jgit.lfs.server.test:__pkg__",
  60. "//org.eclipse.jgit.pgm:__pkg__",
  61. ],
  62. exports = ["@httpcore//jar"],
  63. )
  64. java_library(
  65. name = "sshd-core",
  66. visibility = [
  67. "//org.eclipse.jgit.junit.ssh:__pkg__",
  68. "//org.eclipse.jgit.ssh.apache:__pkg__",
  69. "//org.eclipse.jgit.ssh.apache.test:__pkg__",
  70. "//org.eclipse.jgit.test:__pkg__",
  71. ],
  72. exports = ["@sshd-core//jar"],
  73. )
  74. java_library(
  75. name = "sshd-sftp",
  76. visibility = [
  77. "//org.eclipse.jgit.junit.ssh:__pkg__",
  78. "//org.eclipse.jgit.ssh.apache:__pkg__",
  79. "//org.eclipse.jgit.ssh.apache.test:__pkg__",
  80. "//org.eclipse.jgit.test:__pkg__",
  81. ],
  82. exports = ["@sshd-sftp//jar"],
  83. )
  84. java_library(
  85. name = "javaewah",
  86. visibility = ["//visibility:public"],
  87. exports = ["@javaewah//jar"],
  88. )
  89. java_library(
  90. name = "jetty-http",
  91. # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
  92. visibility = ["//visibility:public"],
  93. exports = ["@jetty-http//jar"],
  94. runtime_deps = [":commons-codec"],
  95. )
  96. java_library(
  97. name = "jetty-io",
  98. # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
  99. visibility = ["//visibility:public"],
  100. exports = ["@jetty-io//jar"],
  101. )
  102. java_library(
  103. name = "jetty-security",
  104. # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
  105. visibility = ["//visibility:public"],
  106. exports = ["@jetty-security//jar"],
  107. )
  108. java_library(
  109. name = "jetty-server",
  110. # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
  111. visibility = ["//visibility:public"],
  112. exports = ["@jetty-server//jar"],
  113. )
  114. java_library(
  115. name = "jetty-servlet",
  116. # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
  117. visibility = ["//visibility:public"],
  118. exports = ["@jetty-servlet//jar"],
  119. )
  120. java_library(
  121. name = "jetty-util",
  122. # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
  123. visibility = ["//visibility:public"],
  124. exports = ["@jetty-util//jar"],
  125. )
  126. java_library(
  127. name = "jsch",
  128. visibility = [
  129. "//org.eclipse.jgit:__pkg__",
  130. "//org.eclipse.jgit.test:__pkg__",
  131. ],
  132. exports = ["@jsch//jar"],
  133. )
  134. java_library(
  135. name = "bcpg",
  136. visibility = [
  137. "//org.eclipse.jgit:__pkg__",
  138. "//org.eclipse.jgit.test:__pkg__",
  139. ],
  140. exports = ["@bcpg-jdk15on//jar"],
  141. )
  142. java_library(
  143. name = "bcprov",
  144. visibility = [
  145. "//org.eclipse.jgit:__pkg__",
  146. "//org.eclipse.jgit.test:__pkg__",
  147. ],
  148. exports = ["@bcprov-jdk15on//jar"],
  149. )
  150. java_library(
  151. name = "bcpkix",
  152. visibility = [
  153. "//org.eclipse.jgit:__pkg__",
  154. "//org.eclipse.jgit.test:__pkg__",
  155. ],
  156. exports = ["@bcpkix-jdk15on//jar"],
  157. )
  158. java_library(
  159. name = "jzlib",
  160. visibility = [
  161. "//org.eclipse.jgit:__pkg__",
  162. "//org.eclipse.jgit.test:__pkg__",
  163. ],
  164. exports = ["@jzlib//jar"],
  165. )
  166. java_library(
  167. name = "junit",
  168. testonly = 1,
  169. visibility = ["//visibility:public"],
  170. exports = [
  171. "@bytebuddy-agent//jar",
  172. "@bytebuddy//jar",
  173. "@hamcrest-core//jar",
  174. "@hamcrest-library//jar",
  175. "@junit//jar",
  176. "@mockito//jar",
  177. "@objenesis//jar",
  178. ],
  179. )
  180. java_library(
  181. name = "mockito",
  182. testonly = 1,
  183. visibility = ["//visibility:public"],
  184. exports = [
  185. "@bytebuddy-agent//jar",
  186. "@bytebuddy//jar",
  187. "@mockito//jar",
  188. "@objenesis//jar",
  189. ],
  190. )
  191. java_library(
  192. name = "servlet-api",
  193. visibility = [
  194. "//org.eclipse.jgit.http.apache:__pkg__",
  195. "//org.eclipse.jgit.http.server:__pkg__",
  196. "//org.eclipse.jgit.http.test:__pkg__",
  197. "//org.eclipse.jgit.junit.http:__pkg__",
  198. "//org.eclipse.jgit.lfs.server:__pkg__",
  199. "//org.eclipse.jgit.lfs.server.test:__pkg__",
  200. "//org.eclipse.jgit.pgm:__pkg__",
  201. ],
  202. exports = ["@servlet-api-3_1//jar"],
  203. )
  204. java_library(
  205. name = "slf4j-api",
  206. visibility = ["//visibility:public"],
  207. exports = ["@log-api//jar"],
  208. )
  209. java_library(
  210. name = "slf4j-simple",
  211. testonly = 1,
  212. visibility = ["//visibility:public"],
  213. exports = ["@slf4j-simple//jar"],
  214. )
  215. java_library(
  216. name = "xz",
  217. testonly = 1,
  218. visibility = ["//visibility:public"],
  219. exports = ["@tukaani-xz//jar"],
  220. )