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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  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. testonly = 1,
  26. visibility = ["//visibility:public"],
  27. exports = ["@commons-logging//jar"],
  28. )
  29. java_library(
  30. name = "gson",
  31. visibility = [
  32. "//org.eclipse.jgit.lfs:__pkg__",
  33. "//org.eclipse.jgit.lfs.server:__pkg__",
  34. ],
  35. exports = ["@gson//jar"],
  36. )
  37. java_library(
  38. name = "httpclient",
  39. visibility = [
  40. "//org.eclipse.jgit.http.apache:__pkg__",
  41. "//org.eclipse.jgit.lfs.server.test:__pkg__",
  42. "//org.eclipse.jgit.pgm:__pkg__",
  43. ],
  44. exports = ["@httpclient//jar"],
  45. )
  46. java_library(
  47. name = "httpcore",
  48. visibility = [
  49. "//org.eclipse.jgit.http.apache:__pkg__",
  50. "//org.eclipse.jgit.http.test:__pkg__",
  51. "//org.eclipse.jgit.lfs.server:__pkg__",
  52. "//org.eclipse.jgit.lfs.server.test:__pkg__",
  53. "//org.eclipse.jgit.pgm:__pkg__",
  54. ],
  55. exports = ["@httpcore//jar"],
  56. )
  57. java_library(
  58. name = "javaewah",
  59. visibility = ["//visibility:public"],
  60. exports = ["@javaewah//jar"],
  61. )
  62. java_library(
  63. name = "jetty-http",
  64. # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
  65. visibility = ["//visibility:public"],
  66. exports = ["@jetty-http//jar"],
  67. runtime_deps = [":commons-codec"],
  68. )
  69. java_library(
  70. name = "jetty-io",
  71. # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
  72. visibility = ["//visibility:public"],
  73. exports = ["@jetty-io//jar"],
  74. )
  75. java_library(
  76. name = "jetty-security",
  77. # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
  78. visibility = ["//visibility:public"],
  79. exports = ["@jetty-security//jar"],
  80. )
  81. java_library(
  82. name = "jetty-server",
  83. # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
  84. visibility = ["//visibility:public"],
  85. exports = ["@jetty-server//jar"],
  86. )
  87. java_library(
  88. name = "jetty-servlet",
  89. # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
  90. visibility = ["//visibility:public"],
  91. exports = ["@jetty-servlet//jar"],
  92. )
  93. java_library(
  94. name = "jetty-util",
  95. # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
  96. visibility = ["//visibility:public"],
  97. exports = ["@jetty-util//jar"],
  98. )
  99. java_library(
  100. name = "jsch",
  101. visibility = [
  102. "//org.eclipse.jgit:__pkg__",
  103. "//org.eclipse.jgit.test:__pkg__",
  104. ],
  105. exports = ["@jsch//jar"],
  106. )
  107. java_library(
  108. name = "jzlib",
  109. visibility = [
  110. "//org.eclipse.jgit:__pkg__",
  111. "//org.eclipse.jgit.test:__pkg__",
  112. ],
  113. exports = ["@jzlib//jar"],
  114. )
  115. java_library(
  116. name = "junit",
  117. testonly = 1,
  118. visibility = ["//visibility:public"],
  119. exports = [
  120. "@bytebuddy-agent//jar",
  121. "@bytebuddy//jar",
  122. "@hamcrest-core//jar",
  123. "@hamcrest-library//jar",
  124. "@junit//jar",
  125. "@mockito-core//jar",
  126. "@objenesis//jar",
  127. ],
  128. )
  129. java_library(
  130. name = "servlet-api",
  131. visibility = [
  132. "//org.eclipse.jgit.http.apache:__pkg__",
  133. "//org.eclipse.jgit.http.server:__pkg__",
  134. "//org.eclipse.jgit.http.test:__pkg__",
  135. "//org.eclipse.jgit.junit.http:__pkg__",
  136. "//org.eclipse.jgit.lfs.server:__pkg__",
  137. "//org.eclipse.jgit.lfs.server.test:__pkg__",
  138. "//org.eclipse.jgit.pgm:__pkg__",
  139. ],
  140. exports = ["@servlet-api-3_1//jar"],
  141. )
  142. java_library(
  143. name = "slf4j-api",
  144. visibility = ["//visibility:public"],
  145. exports = ["@log-api//jar"],
  146. )
  147. java_library(
  148. name = "slf4j-simple",
  149. testonly = 1,
  150. visibility = ["//visibility:public"],
  151. exports = ["@slf4j-simple//jar"],
  152. )
  153. java_library(
  154. name = "xz",
  155. testonly = 1,
  156. visibility = ["//visibility:public"],
  157. exports = ["@tukaani-xz//jar"],
  158. )