xref: /JGit/lib/BUILD (revision db627c417779691d7fe5fa925ea63f53babbae01)
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(
31*db627c41SThomas Wolf    name = "eddsa",
32*db627c41SThomas Wolf    visibility = [
33*db627c41SThomas Wolf        "//org.eclipse.jgit.ssh.apache:__pkg__",
34*db627c41SThomas Wolf        "//org.eclipse.jgit.ssh.apache.test:__pkg__",
35*db627c41SThomas Wolf    ],
36*db627c41SThomas Wolf    exports = ["@eddsa//jar"],
37*db627c41SThomas Wolf)
38*db627c41SThomas Wolf
39*db627c41SThomas 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(
151cdc88247SMatthias Sohn    name = "jzlib",
152cdc88247SMatthias Sohn    visibility = [
153cdc88247SMatthias Sohn        "//org.eclipse.jgit:__pkg__",
154cdc88247SMatthias Sohn        "//org.eclipse.jgit.test:__pkg__",
155cdc88247SMatthias Sohn    ],
156cdc88247SMatthias Sohn    exports = ["@jzlib//jar"],
157cdc88247SMatthias Sohn)
158cdc88247SMatthias Sohn
159cdc88247SMatthias Sohnjava_library(
160bc5014faSJonathan Nieder    name = "junit",
16102fe1e0bSJonathan Nieder    testonly = 1,
16202fe1e0bSJonathan Nieder    visibility = ["//visibility:public"],
163fa2851ceSDavid Ostrovsky    exports = [
16419222ce7SDavid Pursehouse        "@hamcrest-core//jar",
16519222ce7SDavid Pursehouse        "@hamcrest-library//jar",
166904e9f8bSDavid Pursehouse        "@junit//jar",
1670f6ddb37SDavid Ostrovsky    ],
168bc5014faSJonathan Nieder)
169bc5014faSJonathan Nieder
170bc5014faSJonathan Niederjava_library(
1712532fa74SMatthias Sohn    name = "mockito",
1722532fa74SMatthias Sohn    testonly = 1,
1732532fa74SMatthias Sohn    visibility = ["//visibility:public"],
1742532fa74SMatthias Sohn    exports = [
1752532fa74SMatthias Sohn        "@mockito//jar",
1762532fa74SMatthias Sohn        "@byte_buddy//jar",
1772532fa74SMatthias Sohn        "@byte_buddy_agent//jar",
1782532fa74SMatthias Sohn        "@objenesis//jar",
1792532fa74SMatthias Sohn    ],
1802532fa74SMatthias Sohn)
1812532fa74SMatthias Sohn
1822532fa74SMatthias Sohnjava_library(
183bc5014faSJonathan Nieder    name = "servlet-api",
184bc5014faSJonathan Nieder    visibility = [
185bc5014faSJonathan Nieder        "//org.eclipse.jgit.http.apache:__pkg__",
186bc5014faSJonathan Nieder        "//org.eclipse.jgit.http.server:__pkg__",
1870f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.http.test:__pkg__",
1880f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.junit.http:__pkg__",
189bc5014faSJonathan Nieder        "//org.eclipse.jgit.lfs.server:__pkg__",
1900f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.lfs.server.test:__pkg__",
1910f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.pgm:__pkg__",
192bc5014faSJonathan Nieder    ],
19319222ce7SDavid Pursehouse    exports = ["@servlet-api-3_1//jar"],
194bc5014faSJonathan Nieder)
195bc5014faSJonathan Nieder
196bc5014faSJonathan Niederjava_library(
197bc5014faSJonathan Nieder    name = "slf4j-api",
198bc5014faSJonathan Nieder    visibility = ["//visibility:public"],
19919222ce7SDavid Pursehouse    exports = ["@log-api//jar"],
200bc5014faSJonathan Nieder)
2010f6ddb37SDavid Ostrovsky
2020f6ddb37SDavid Ostrovskyjava_library(
2030f6ddb37SDavid Ostrovsky    name = "slf4j-simple",
2040f6ddb37SDavid Ostrovsky    testonly = 1,
2050f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
20619222ce7SDavid Pursehouse    exports = ["@slf4j-simple//jar"],
2070f6ddb37SDavid Ostrovsky)
2080f6ddb37SDavid Ostrovsky
2090f6ddb37SDavid Ostrovskyjava_library(
2100f6ddb37SDavid Ostrovsky    name = "xz",
2110f6ddb37SDavid Ostrovsky    testonly = 1,
2120f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
21319222ce7SDavid Pursehouse    exports = ["@tukaani-xz//jar"],
2140f6ddb37SDavid Ostrovsky)
215