xref: /JGit/lib/BUILD (revision 0eea7368e26c6a6daeb1bb6eb536977421b1ccc5)
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__",
150aa8eca5SDavid Pursehouse        "//org.eclipse.jgit.test:__pkg__",
160f6ddb37SDavid Ostrovsky    ],
1719222ce7SDavid Pursehouse    exports = ["@commons-compress//jar"],
18bc5014faSJonathan Nieder)
19bc5014faSJonathan Nieder
20bc5014faSJonathan Niederjava_library(
210f6ddb37SDavid Ostrovsky    name = "commons-codec",
2219222ce7SDavid Pursehouse    exports = ["@commons-codec//jar"],
230f6ddb37SDavid Ostrovsky)
240f6ddb37SDavid Ostrovsky
250f6ddb37SDavid Ostrovskyjava_library(
260f6ddb37SDavid Ostrovsky    name = "commons-logging",
270f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
2819222ce7SDavid Pursehouse    exports = ["@commons-logging//jar"],
290f6ddb37SDavid Ostrovsky)
300f6ddb37SDavid Ostrovsky
310f6ddb37SDavid Ostrovskyjava_library(
32db627c41SThomas Wolf    name = "eddsa",
33db627c41SThomas Wolf    visibility = [
34db627c41SThomas Wolf        "//org.eclipse.jgit.ssh.apache:__pkg__",
35db627c41SThomas Wolf        "//org.eclipse.jgit.ssh.apache.test:__pkg__",
36db627c41SThomas Wolf    ],
37db627c41SThomas Wolf    exports = ["@eddsa//jar"],
38db627c41SThomas Wolf)
39db627c41SThomas Wolf
40db627c41SThomas Wolfjava_library(
41bc5014faSJonathan Nieder    name = "gson",
4235bb7cccSHan-Wen Nienhuys    visibility = [
4335bb7cccSHan-Wen Nienhuys        "//org.eclipse.jgit.lfs:__pkg__",
4435bb7cccSHan-Wen Nienhuys        "//org.eclipse.jgit.lfs.server:__pkg__",
4535bb7cccSHan-Wen Nienhuys    ],
46bc5014faSJonathan Nieder    exports = ["@gson//jar"],
47bc5014faSJonathan Nieder)
48bc5014faSJonathan Nieder
49bc5014faSJonathan Niederjava_library(
50bc5014faSJonathan Nieder    name = "httpclient",
510f6ddb37SDavid Ostrovsky    visibility = [
520f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.http.apache:__pkg__",
530f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.lfs.server.test:__pkg__",
540f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.pgm:__pkg__",
550f6ddb37SDavid Ostrovsky    ],
56bc5014faSJonathan Nieder    exports = ["@httpclient//jar"],
57bc5014faSJonathan Nieder)
58bc5014faSJonathan Nieder
59bc5014faSJonathan Niederjava_library(
60bc5014faSJonathan Nieder    name = "httpcore",
61bc5014faSJonathan Nieder    visibility = [
62bc5014faSJonathan Nieder        "//org.eclipse.jgit.http.apache:__pkg__",
63280707b0SGabriel Couto        "//org.eclipse.jgit.http.test:__pkg__",
64bc5014faSJonathan Nieder        "//org.eclipse.jgit.lfs.server:__pkg__",
650f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.lfs.server.test:__pkg__",
660f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.pgm:__pkg__",
67bc5014faSJonathan Nieder    ],
68bc5014faSJonathan Nieder    exports = ["@httpcore//jar"],
69bc5014faSJonathan Nieder)
70bc5014faSJonathan Nieder
71bc5014faSJonathan Niederjava_library(
7208b0a863SThomas Wolf    name = "sshd-core",
7308b0a863SThomas Wolf    visibility = [
741316d43eSThomas Wolf        "//org.eclipse.jgit.junit.ssh:__pkg__",
75488d9557SThomas Wolf        "//org.eclipse.jgit.ssh.apache:__pkg__",
76488d9557SThomas Wolf        "//org.eclipse.jgit.ssh.apache.test:__pkg__",
77f4c0189fSDavid Pursehouse        "//org.eclipse.jgit.test:__pkg__",
7808b0a863SThomas Wolf    ],
7908b0a863SThomas Wolf    exports = ["@sshd-core//jar"],
8008b0a863SThomas Wolf)
8108b0a863SThomas Wolf
8208b0a863SThomas Wolfjava_library(
8308b0a863SThomas Wolf    name = "sshd-sftp",
8408b0a863SThomas Wolf    visibility = [
851316d43eSThomas Wolf        "//org.eclipse.jgit.junit.ssh:__pkg__",
86488d9557SThomas Wolf        "//org.eclipse.jgit.ssh.apache:__pkg__",
87488d9557SThomas Wolf        "//org.eclipse.jgit.ssh.apache.test:__pkg__",
88f4c0189fSDavid Pursehouse        "//org.eclipse.jgit.test:__pkg__",
8908b0a863SThomas Wolf    ],
9008b0a863SThomas Wolf    exports = ["@sshd-sftp//jar"],
9108b0a863SThomas Wolf)
9208b0a863SThomas Wolf
9308b0a863SThomas Wolfjava_library(
94bc5014faSJonathan Nieder    name = "javaewah",
95bc5014faSJonathan Nieder    visibility = ["//visibility:public"],
96bc5014faSJonathan Nieder    exports = ["@javaewah//jar"],
97bc5014faSJonathan Nieder)
98bc5014faSJonathan Nieder
99bc5014faSJonathan Niederjava_library(
1000f6ddb37SDavid Ostrovsky    name = "jetty-http",
1010f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
1020f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
10319222ce7SDavid Pursehouse    exports = ["@jetty-http//jar"],
1040f6ddb37SDavid Ostrovsky    runtime_deps = [":commons-codec"],
1050f6ddb37SDavid Ostrovsky)
1060f6ddb37SDavid Ostrovsky
1070f6ddb37SDavid Ostrovskyjava_library(
1080f6ddb37SDavid Ostrovsky    name = "jetty-io",
1090f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
1100f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
11119222ce7SDavid Pursehouse    exports = ["@jetty-io//jar"],
1120f6ddb37SDavid Ostrovsky)
1130f6ddb37SDavid Ostrovsky
1140f6ddb37SDavid Ostrovskyjava_library(
1150f6ddb37SDavid Ostrovsky    name = "jetty-security",
1160f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
1170f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
11819222ce7SDavid Pursehouse    exports = ["@jetty-security//jar"],
1190f6ddb37SDavid Ostrovsky)
1200f6ddb37SDavid Ostrovsky
1210f6ddb37SDavid Ostrovskyjava_library(
1220f6ddb37SDavid Ostrovsky    name = "jetty-server",
1230f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
1240f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
12519222ce7SDavid Pursehouse    exports = ["@jetty-server//jar"],
1260f6ddb37SDavid Ostrovsky)
1270f6ddb37SDavid Ostrovsky
1280f6ddb37SDavid Ostrovskyjava_library(
1290f6ddb37SDavid Ostrovsky    name = "jetty-servlet",
1300f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
1310f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
13219222ce7SDavid Pursehouse    exports = ["@jetty-servlet//jar"],
1330f6ddb37SDavid Ostrovsky)
1340f6ddb37SDavid Ostrovsky
1350f6ddb37SDavid Ostrovskyjava_library(
1360f6ddb37SDavid Ostrovsky    name = "jetty-util",
1370f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
1380f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
13919222ce7SDavid Pursehouse    exports = ["@jetty-util//jar"],
1400f6ddb37SDavid Ostrovsky)
1410f6ddb37SDavid Ostrovsky
1420f6ddb37SDavid Ostrovskyjava_library(
143bc5014faSJonathan Nieder    name = "jsch",
144c506f8d2SThomas Wolf    visibility = [
145c506f8d2SThomas Wolf        "//org.eclipse.jgit:__pkg__",
146c506f8d2SThomas Wolf        "//org.eclipse.jgit.test:__pkg__",
147c506f8d2SThomas Wolf    ],
148bc5014faSJonathan Nieder    exports = ["@jsch//jar"],
149bc5014faSJonathan Nieder)
150bc5014faSJonathan Nieder
151bc5014faSJonathan Niederjava_library(
152cdc88247SMatthias Sohn    name = "jzlib",
153cdc88247SMatthias Sohn    visibility = [
154cdc88247SMatthias Sohn        "//org.eclipse.jgit:__pkg__",
155cdc88247SMatthias Sohn        "//org.eclipse.jgit.test:__pkg__",
156cdc88247SMatthias Sohn    ],
157cdc88247SMatthias Sohn    exports = ["@jzlib//jar"],
158cdc88247SMatthias Sohn)
159cdc88247SMatthias Sohn
160cdc88247SMatthias Sohnjava_library(
161bc5014faSJonathan Nieder    name = "junit",
16202fe1e0bSJonathan Nieder    testonly = 1,
16302fe1e0bSJonathan Nieder    visibility = ["//visibility:public"],
164fa2851ceSDavid Ostrovsky    exports = [
1654d46a68aSMatthias Sohn        "@bytebuddy//jar",
1664d46a68aSMatthias Sohn        "@bytebuddy-agent//jar",
16719222ce7SDavid Pursehouse        "@hamcrest-core//jar",
16819222ce7SDavid Pursehouse        "@hamcrest-library//jar",
169904e9f8bSDavid Pursehouse        "@junit//jar",
170*0eea7368SMatthias Sohn        "@mockito//jar",
1714d46a68aSMatthias Sohn        "@objenesis//jar"
1720f6ddb37SDavid Ostrovsky    ],
173bc5014faSJonathan Nieder)
174bc5014faSJonathan Nieder
175bc5014faSJonathan Niederjava_library(
1762532fa74SMatthias Sohn    name = "mockito",
1772532fa74SMatthias Sohn    testonly = 1,
1782532fa74SMatthias Sohn    visibility = ["//visibility:public"],
1792532fa74SMatthias Sohn    exports = [
180*0eea7368SMatthias Sohn        "@bytebuddy//jar",
181*0eea7368SMatthias Sohn        "@bytebuddy-agent//jar",
182f4d7c911SDavid Pursehouse        "@mockito//jar",
1832532fa74SMatthias Sohn        "@objenesis//jar",
1842532fa74SMatthias Sohn    ],
1852532fa74SMatthias Sohn)
1862532fa74SMatthias Sohn
1872532fa74SMatthias Sohnjava_library(
188bc5014faSJonathan Nieder    name = "servlet-api",
189bc5014faSJonathan Nieder    visibility = [
190bc5014faSJonathan Nieder        "//org.eclipse.jgit.http.apache:__pkg__",
191bc5014faSJonathan Nieder        "//org.eclipse.jgit.http.server:__pkg__",
1920f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.http.test:__pkg__",
1930f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.junit.http:__pkg__",
194bc5014faSJonathan Nieder        "//org.eclipse.jgit.lfs.server:__pkg__",
1950f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.lfs.server.test:__pkg__",
1960f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.pgm:__pkg__",
197bc5014faSJonathan Nieder    ],
19819222ce7SDavid Pursehouse    exports = ["@servlet-api-3_1//jar"],
199bc5014faSJonathan Nieder)
200bc5014faSJonathan Nieder
201bc5014faSJonathan Niederjava_library(
202bc5014faSJonathan Nieder    name = "slf4j-api",
203bc5014faSJonathan Nieder    visibility = ["//visibility:public"],
20419222ce7SDavid Pursehouse    exports = ["@log-api//jar"],
205bc5014faSJonathan Nieder)
2060f6ddb37SDavid Ostrovsky
2070f6ddb37SDavid Ostrovskyjava_library(
2080f6ddb37SDavid Ostrovsky    name = "slf4j-simple",
2090f6ddb37SDavid Ostrovsky    testonly = 1,
2100f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
21119222ce7SDavid Pursehouse    exports = ["@slf4j-simple//jar"],
2120f6ddb37SDavid Ostrovsky)
2130f6ddb37SDavid Ostrovsky
2140f6ddb37SDavid Ostrovskyjava_library(
2150f6ddb37SDavid Ostrovsky    name = "xz",
2160f6ddb37SDavid Ostrovsky    testonly = 1,
2170f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
21819222ce7SDavid Pursehouse    exports = ["@tukaani-xz//jar"],
2190f6ddb37SDavid Ostrovsky)
220