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