xref: /JGit/lib/BUILD (revision 137e91a4654b4f516d1f82885c669e14473dbfd6)
1bc5014faSJonathan Niederjava_library(
20f6ddb37SDavid Ostrovsky    name = "args4j",
30f6ddb37SDavid Ostrovsky    visibility = [
40f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.pgm:__pkg__",
50f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.pgm.test:__pkg__",
60f6ddb37SDavid Ostrovsky    ],
70f6ddb37SDavid Ostrovsky    exports = ["@args4j//jar"],
80f6ddb37SDavid Ostrovsky)
90f6ddb37SDavid Ostrovsky
100f6ddb37SDavid Ostrovskyjava_library(
11bc5014faSJonathan Nieder    name = "commons-compress",
120f6ddb37SDavid Ostrovsky    visibility = [
130f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.archive:__pkg__",
140f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.pgm.test:__pkg__",
150f6ddb37SDavid Ostrovsky    ],
1619222ce7SDavid Pursehouse    exports = ["@commons-compress//jar"],
17bc5014faSJonathan Nieder)
18bc5014faSJonathan Nieder
19bc5014faSJonathan Niederjava_library(
200f6ddb37SDavid Ostrovsky    name = "commons-codec",
2119222ce7SDavid Pursehouse    exports = ["@commons-codec//jar"],
220f6ddb37SDavid Ostrovsky)
230f6ddb37SDavid Ostrovsky
240f6ddb37SDavid Ostrovskyjava_library(
250f6ddb37SDavid Ostrovsky    name = "commons-logging",
260f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
2719222ce7SDavid Pursehouse    exports = ["@commons-logging//jar"],
280f6ddb37SDavid Ostrovsky)
290f6ddb37SDavid Ostrovsky
300f6ddb37SDavid Ostrovskyjava_library(
31db627c41SThomas Wolf    name = "eddsa",
32db627c41SThomas Wolf    visibility = [
33db627c41SThomas Wolf        "//org.eclipse.jgit.ssh.apache:__pkg__",
34db627c41SThomas Wolf        "//org.eclipse.jgit.ssh.apache.test:__pkg__",
35db627c41SThomas Wolf    ],
36db627c41SThomas Wolf    exports = ["@eddsa//jar"],
37db627c41SThomas Wolf)
38db627c41SThomas Wolf
39db627c41SThomas Wolfjava_library(
40bc5014faSJonathan Nieder    name = "gson",
4135bb7cccSHan-Wen Nienhuys    visibility = [
4235bb7cccSHan-Wen Nienhuys        "//org.eclipse.jgit.lfs:__pkg__",
4335bb7cccSHan-Wen Nienhuys        "//org.eclipse.jgit.lfs.server:__pkg__",
4435bb7cccSHan-Wen Nienhuys    ],
45bc5014faSJonathan Nieder    exports = ["@gson//jar"],
46bc5014faSJonathan Nieder)
47bc5014faSJonathan Nieder
48bc5014faSJonathan Niederjava_library(
49bc5014faSJonathan Nieder    name = "httpclient",
500f6ddb37SDavid Ostrovsky    visibility = [
510f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.http.apache:__pkg__",
520f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.lfs.server.test:__pkg__",
530f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.pgm:__pkg__",
540f6ddb37SDavid Ostrovsky    ],
55bc5014faSJonathan Nieder    exports = ["@httpclient//jar"],
56bc5014faSJonathan Nieder)
57bc5014faSJonathan Nieder
58bc5014faSJonathan Niederjava_library(
59bc5014faSJonathan Nieder    name = "httpcore",
60bc5014faSJonathan Nieder    visibility = [
61bc5014faSJonathan Nieder        "//org.eclipse.jgit.http.apache:__pkg__",
62280707b0SGabriel Couto        "//org.eclipse.jgit.http.test:__pkg__",
63bc5014faSJonathan Nieder        "//org.eclipse.jgit.lfs.server:__pkg__",
640f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.lfs.server.test:__pkg__",
650f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.pgm:__pkg__",
66bc5014faSJonathan Nieder    ],
67bc5014faSJonathan Nieder    exports = ["@httpcore//jar"],
68bc5014faSJonathan Nieder)
69bc5014faSJonathan Nieder
70bc5014faSJonathan Niederjava_library(
7108b0a863SThomas Wolf    name = "sshd-core",
7208b0a863SThomas Wolf    visibility = [
731316d43eSThomas Wolf        "//org.eclipse.jgit.junit.ssh:__pkg__",
74488d9557SThomas Wolf        "//org.eclipse.jgit.ssh.apache:__pkg__",
75488d9557SThomas Wolf        "//org.eclipse.jgit.ssh.apache.test:__pkg__",
76f4c0189fSDavid Pursehouse        "//org.eclipse.jgit.test:__pkg__",
7708b0a863SThomas Wolf    ],
7808b0a863SThomas Wolf    exports = ["@sshd-core//jar"],
7908b0a863SThomas Wolf)
8008b0a863SThomas Wolf
8108b0a863SThomas Wolfjava_library(
8208b0a863SThomas Wolf    name = "sshd-sftp",
8308b0a863SThomas Wolf    visibility = [
841316d43eSThomas Wolf        "//org.eclipse.jgit.junit.ssh:__pkg__",
85488d9557SThomas Wolf        "//org.eclipse.jgit.ssh.apache:__pkg__",
86488d9557SThomas Wolf        "//org.eclipse.jgit.ssh.apache.test:__pkg__",
87f4c0189fSDavid Pursehouse        "//org.eclipse.jgit.test:__pkg__",
8808b0a863SThomas Wolf    ],
8908b0a863SThomas Wolf    exports = ["@sshd-sftp//jar"],
9008b0a863SThomas Wolf)
9108b0a863SThomas Wolf
9208b0a863SThomas Wolfjava_library(
93bc5014faSJonathan Nieder    name = "javaewah",
94bc5014faSJonathan Nieder    visibility = ["//visibility:public"],
95bc5014faSJonathan Nieder    exports = ["@javaewah//jar"],
96bc5014faSJonathan Nieder)
97bc5014faSJonathan Nieder
98bc5014faSJonathan Niederjava_library(
990f6ddb37SDavid Ostrovsky    name = "jetty-http",
1000f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
1010f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
10219222ce7SDavid Pursehouse    exports = ["@jetty-http//jar"],
1030f6ddb37SDavid Ostrovsky    runtime_deps = [":commons-codec"],
1040f6ddb37SDavid Ostrovsky)
1050f6ddb37SDavid Ostrovsky
1060f6ddb37SDavid Ostrovskyjava_library(
1070f6ddb37SDavid Ostrovsky    name = "jetty-io",
1080f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
1090f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
11019222ce7SDavid Pursehouse    exports = ["@jetty-io//jar"],
1110f6ddb37SDavid Ostrovsky)
1120f6ddb37SDavid Ostrovsky
1130f6ddb37SDavid Ostrovskyjava_library(
1140f6ddb37SDavid Ostrovsky    name = "jetty-security",
1150f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
1160f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
11719222ce7SDavid Pursehouse    exports = ["@jetty-security//jar"],
1180f6ddb37SDavid Ostrovsky)
1190f6ddb37SDavid Ostrovsky
1200f6ddb37SDavid Ostrovskyjava_library(
1210f6ddb37SDavid Ostrovsky    name = "jetty-server",
1220f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
1230f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
12419222ce7SDavid Pursehouse    exports = ["@jetty-server//jar"],
1250f6ddb37SDavid Ostrovsky)
1260f6ddb37SDavid Ostrovsky
1270f6ddb37SDavid Ostrovskyjava_library(
1280f6ddb37SDavid Ostrovsky    name = "jetty-servlet",
1290f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
1300f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
13119222ce7SDavid Pursehouse    exports = ["@jetty-servlet//jar"],
1320f6ddb37SDavid Ostrovsky)
1330f6ddb37SDavid Ostrovsky
1340f6ddb37SDavid Ostrovskyjava_library(
1350f6ddb37SDavid Ostrovsky    name = "jetty-util",
1360f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
1370f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
13819222ce7SDavid Pursehouse    exports = ["@jetty-util//jar"],
1390f6ddb37SDavid Ostrovsky)
1400f6ddb37SDavid Ostrovsky
1410f6ddb37SDavid Ostrovskyjava_library(
142bc5014faSJonathan Nieder    name = "jsch",
143c506f8d2SThomas Wolf    visibility = [
144c506f8d2SThomas Wolf        "//org.eclipse.jgit:__pkg__",
145c506f8d2SThomas Wolf        "//org.eclipse.jgit.test:__pkg__",
146c506f8d2SThomas Wolf    ],
147bc5014faSJonathan Nieder    exports = ["@jsch//jar"],
148bc5014faSJonathan Nieder)
149bc5014faSJonathan Nieder
150bc5014faSJonathan Niederjava_library(
151*137e91a4SMedha Bhargav Prabhala    name = "bcpg",
152*137e91a4SMedha Bhargav Prabhala    visibility = [
153*137e91a4SMedha Bhargav Prabhala        "//org.eclipse.jgit:__pkg__",
154*137e91a4SMedha Bhargav Prabhala        "//org.eclipse.jgit.test:__pkg__",
155*137e91a4SMedha Bhargav Prabhala    ],
156*137e91a4SMedha Bhargav Prabhala    exports = ["@bcpg-jdk15on//jar"],
157*137e91a4SMedha Bhargav Prabhala)
158*137e91a4SMedha Bhargav Prabhala
159*137e91a4SMedha Bhargav Prabhalajava_library(
160*137e91a4SMedha Bhargav Prabhala    name = "bcprov",
161*137e91a4SMedha Bhargav Prabhala    visibility = [
162*137e91a4SMedha Bhargav Prabhala        "//org.eclipse.jgit:__pkg__",
163*137e91a4SMedha Bhargav Prabhala        "//org.eclipse.jgit.test:__pkg__",
164*137e91a4SMedha Bhargav Prabhala    ],
165*137e91a4SMedha Bhargav Prabhala    exports = ["@bcprov-jdk15on//jar"],
166*137e91a4SMedha Bhargav Prabhala)
167*137e91a4SMedha Bhargav Prabhala
168*137e91a4SMedha Bhargav Prabhalajava_library(
169*137e91a4SMedha Bhargav Prabhala    name = "bcpkix",
170*137e91a4SMedha Bhargav Prabhala    visibility = [
171*137e91a4SMedha Bhargav Prabhala        "//org.eclipse.jgit:__pkg__",
172*137e91a4SMedha Bhargav Prabhala        "//org.eclipse.jgit.test:__pkg__",
173*137e91a4SMedha Bhargav Prabhala    ],
174*137e91a4SMedha Bhargav Prabhala    exports = ["@bcpkix-jdk15on//jar"],
175*137e91a4SMedha Bhargav Prabhala)
176*137e91a4SMedha Bhargav Prabhala
177*137e91a4SMedha Bhargav Prabhalajava_library(
178cdc88247SMatthias Sohn    name = "jzlib",
179cdc88247SMatthias Sohn    visibility = [
180cdc88247SMatthias Sohn        "//org.eclipse.jgit:__pkg__",
181cdc88247SMatthias Sohn        "//org.eclipse.jgit.test:__pkg__",
182cdc88247SMatthias Sohn    ],
183cdc88247SMatthias Sohn    exports = ["@jzlib//jar"],
184cdc88247SMatthias Sohn)
185cdc88247SMatthias Sohn
186cdc88247SMatthias Sohnjava_library(
187bc5014faSJonathan Nieder    name = "junit",
18802fe1e0bSJonathan Nieder    testonly = 1,
18902fe1e0bSJonathan Nieder    visibility = ["//visibility:public"],
190fa2851ceSDavid Ostrovsky    exports = [
19119222ce7SDavid Pursehouse        "@hamcrest-core//jar",
19219222ce7SDavid Pursehouse        "@hamcrest-library//jar",
193904e9f8bSDavid Pursehouse        "@junit//jar",
1940f6ddb37SDavid Ostrovsky    ],
195bc5014faSJonathan Nieder)
196bc5014faSJonathan Nieder
197bc5014faSJonathan Niederjava_library(
1982532fa74SMatthias Sohn    name = "mockito",
1992532fa74SMatthias Sohn    testonly = 1,
2002532fa74SMatthias Sohn    visibility = ["//visibility:public"],
2012532fa74SMatthias Sohn    exports = [
2022532fa74SMatthias Sohn        "@byte_buddy//jar",
2032532fa74SMatthias Sohn        "@byte_buddy_agent//jar",
204f4d7c911SDavid Pursehouse        "@mockito//jar",
2052532fa74SMatthias Sohn        "@objenesis//jar",
2062532fa74SMatthias Sohn    ],
2072532fa74SMatthias Sohn)
2082532fa74SMatthias Sohn
2092532fa74SMatthias Sohnjava_library(
210bc5014faSJonathan Nieder    name = "servlet-api",
211bc5014faSJonathan Nieder    visibility = [
212bc5014faSJonathan Nieder        "//org.eclipse.jgit.http.apache:__pkg__",
213bc5014faSJonathan Nieder        "//org.eclipse.jgit.http.server:__pkg__",
2140f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.http.test:__pkg__",
2150f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.junit.http:__pkg__",
216bc5014faSJonathan Nieder        "//org.eclipse.jgit.lfs.server:__pkg__",
2170f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.lfs.server.test:__pkg__",
2180f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.pgm:__pkg__",
219bc5014faSJonathan Nieder    ],
22019222ce7SDavid Pursehouse    exports = ["@servlet-api-3_1//jar"],
221bc5014faSJonathan Nieder)
222bc5014faSJonathan Nieder
223bc5014faSJonathan Niederjava_library(
224bc5014faSJonathan Nieder    name = "slf4j-api",
225bc5014faSJonathan Nieder    visibility = ["//visibility:public"],
22619222ce7SDavid Pursehouse    exports = ["@log-api//jar"],
227bc5014faSJonathan Nieder)
2280f6ddb37SDavid Ostrovsky
2290f6ddb37SDavid Ostrovskyjava_library(
2300f6ddb37SDavid Ostrovsky    name = "slf4j-simple",
2310f6ddb37SDavid Ostrovsky    testonly = 1,
2320f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
23319222ce7SDavid Pursehouse    exports = ["@slf4j-simple//jar"],
2340f6ddb37SDavid Ostrovsky)
2350f6ddb37SDavid Ostrovsky
2360f6ddb37SDavid Ostrovskyjava_library(
2370f6ddb37SDavid Ostrovsky    name = "xz",
2380f6ddb37SDavid Ostrovsky    testonly = 1,
2390f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
24019222ce7SDavid Pursehouse    exports = ["@tukaani-xz//jar"],
2410f6ddb37SDavid Ostrovsky)
242