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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  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 = "jzlib",
  136. visibility = [
  137. "//org.eclipse.jgit:__pkg__",
  138. "//org.eclipse.jgit.test:__pkg__",
  139. ],
  140. exports = ["@jzlib//jar"],
  141. )
  142. java_library(
  143. name = "junit",
  144. testonly = 1,
  145. visibility = ["//visibility:public"],
  146. exports = [
  147. "@bytebuddy-agent//jar",
  148. "@bytebuddy//jar",
  149. "@hamcrest-core//jar",
  150. "@hamcrest-library//jar",
  151. "@junit//jar",
  152. "@mockito//jar",
  153. "@objenesis//jar",
  154. ],
  155. )
  156. java_library(
  157. name = "mockito",
  158. testonly = 1,
  159. visibility = ["//visibility:public"],
  160. exports = [
  161. "@bytebuddy//jar",
  162. "@bytebuddy-agent//jar",
  163. "@mockito//jar",
  164. "@objenesis//jar",
  165. ],
  166. )
  167. java_library(
  168. name = "servlet-api",
  169. visibility = [
  170. "//org.eclipse.jgit.http.apache:__pkg__",
  171. "//org.eclipse.jgit.http.server:__pkg__",
  172. "//org.eclipse.jgit.http.test:__pkg__",
  173. "//org.eclipse.jgit.junit.http:__pkg__",
  174. "//org.eclipse.jgit.lfs.server:__pkg__",
  175. "//org.eclipse.jgit.lfs.server.test:__pkg__",
  176. "//org.eclipse.jgit.pgm:__pkg__",
  177. ],
  178. exports = ["@servlet-api-3_1//jar"],
  179. )
  180. java_library(
  181. name = "slf4j-api",
  182. visibility = ["//visibility:public"],
  183. exports = ["@log-api//jar"],
  184. )
  185. java_library(
  186. name = "slf4j-simple",
  187. testonly = 1,
  188. visibility = ["//visibility:public"],
  189. exports = ["@slf4j-simple//jar"],
  190. )
  191. java_library(
  192. name = "xz",
  193. testonly = 1,
  194. visibility = ["//visibility:public"],
  195. exports = ["@tukaani-xz//jar"],
  196. )