xref: /JGit/lib/BUILD (revision 2532fa74c21166971ba05437e14786d93615bc82)
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(
31bc5014faSJonathan Nieder    name = "gson",
3235bb7cccSHan-Wen Nienhuys    visibility = [
3335bb7cccSHan-Wen Nienhuys        "//org.eclipse.jgit.lfs:__pkg__",
3435bb7cccSHan-Wen Nienhuys        "//org.eclipse.jgit.lfs.server:__pkg__",
3535bb7cccSHan-Wen Nienhuys    ],
36bc5014faSJonathan Nieder    exports = ["@gson//jar"],
37bc5014faSJonathan Nieder)
38bc5014faSJonathan Nieder
39bc5014faSJonathan Niederjava_library(
40bc5014faSJonathan Nieder    name = "httpclient",
410f6ddb37SDavid Ostrovsky    visibility = [
420f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.http.apache:__pkg__",
430f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.lfs.server.test:__pkg__",
440f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.pgm:__pkg__",
450f6ddb37SDavid Ostrovsky    ],
46bc5014faSJonathan Nieder    exports = ["@httpclient//jar"],
47bc5014faSJonathan Nieder)
48bc5014faSJonathan Nieder
49bc5014faSJonathan Niederjava_library(
50bc5014faSJonathan Nieder    name = "httpcore",
51bc5014faSJonathan Nieder    visibility = [
52bc5014faSJonathan Nieder        "//org.eclipse.jgit.http.apache:__pkg__",
53280707b0SGabriel Couto        "//org.eclipse.jgit.http.test:__pkg__",
54bc5014faSJonathan Nieder        "//org.eclipse.jgit.lfs.server:__pkg__",
550f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.lfs.server.test:__pkg__",
560f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.pgm:__pkg__",
57bc5014faSJonathan Nieder    ],
58bc5014faSJonathan Nieder    exports = ["@httpcore//jar"],
59bc5014faSJonathan Nieder)
60bc5014faSJonathan Nieder
61bc5014faSJonathan Niederjava_library(
6208b0a863SThomas Wolf    name = "sshd-core",
6308b0a863SThomas Wolf    visibility = [
641316d43eSThomas Wolf        "//org.eclipse.jgit.junit.ssh:__pkg__",
65488d9557SThomas Wolf        "//org.eclipse.jgit.ssh.apache:__pkg__",
66488d9557SThomas Wolf        "//org.eclipse.jgit.ssh.apache.test:__pkg__",
67f4c0189fSDavid Pursehouse        "//org.eclipse.jgit.test:__pkg__",
6808b0a863SThomas Wolf    ],
6908b0a863SThomas Wolf    exports = ["@sshd-core//jar"],
7008b0a863SThomas Wolf)
7108b0a863SThomas Wolf
7208b0a863SThomas Wolfjava_library(
7308b0a863SThomas Wolf    name = "sshd-sftp",
7408b0a863SThomas Wolf    visibility = [
751316d43eSThomas Wolf        "//org.eclipse.jgit.junit.ssh:__pkg__",
76488d9557SThomas Wolf        "//org.eclipse.jgit.ssh.apache:__pkg__",
77488d9557SThomas Wolf        "//org.eclipse.jgit.ssh.apache.test:__pkg__",
78f4c0189fSDavid Pursehouse        "//org.eclipse.jgit.test:__pkg__",
7908b0a863SThomas Wolf    ],
8008b0a863SThomas Wolf    exports = ["@sshd-sftp//jar"],
8108b0a863SThomas Wolf)
8208b0a863SThomas Wolf
8308b0a863SThomas Wolfjava_library(
84bc5014faSJonathan Nieder    name = "javaewah",
85bc5014faSJonathan Nieder    visibility = ["//visibility:public"],
86bc5014faSJonathan Nieder    exports = ["@javaewah//jar"],
87bc5014faSJonathan Nieder)
88bc5014faSJonathan Nieder
89bc5014faSJonathan Niederjava_library(
900f6ddb37SDavid Ostrovsky    name = "jetty-http",
910f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
920f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
9319222ce7SDavid Pursehouse    exports = ["@jetty-http//jar"],
940f6ddb37SDavid Ostrovsky    runtime_deps = [":commons-codec"],
950f6ddb37SDavid Ostrovsky)
960f6ddb37SDavid Ostrovsky
970f6ddb37SDavid Ostrovskyjava_library(
980f6ddb37SDavid Ostrovsky    name = "jetty-io",
990f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
1000f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
10119222ce7SDavid Pursehouse    exports = ["@jetty-io//jar"],
1020f6ddb37SDavid Ostrovsky)
1030f6ddb37SDavid Ostrovsky
1040f6ddb37SDavid Ostrovskyjava_library(
1050f6ddb37SDavid Ostrovsky    name = "jetty-security",
1060f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
1070f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
10819222ce7SDavid Pursehouse    exports = ["@jetty-security//jar"],
1090f6ddb37SDavid Ostrovsky)
1100f6ddb37SDavid Ostrovsky
1110f6ddb37SDavid Ostrovskyjava_library(
1120f6ddb37SDavid Ostrovsky    name = "jetty-server",
1130f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
1140f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
11519222ce7SDavid Pursehouse    exports = ["@jetty-server//jar"],
1160f6ddb37SDavid Ostrovsky)
1170f6ddb37SDavid Ostrovsky
1180f6ddb37SDavid Ostrovskyjava_library(
1190f6ddb37SDavid Ostrovsky    name = "jetty-servlet",
1200f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
1210f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
12219222ce7SDavid Pursehouse    exports = ["@jetty-servlet//jar"],
1230f6ddb37SDavid Ostrovsky)
1240f6ddb37SDavid Ostrovsky
1250f6ddb37SDavid Ostrovskyjava_library(
1260f6ddb37SDavid Ostrovsky    name = "jetty-util",
1270f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
1280f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
12919222ce7SDavid Pursehouse    exports = ["@jetty-util//jar"],
1300f6ddb37SDavid Ostrovsky)
1310f6ddb37SDavid Ostrovsky
1320f6ddb37SDavid Ostrovskyjava_library(
133bc5014faSJonathan Nieder    name = "jsch",
134c506f8d2SThomas Wolf    visibility = [
135c506f8d2SThomas Wolf        "//org.eclipse.jgit:__pkg__",
136c506f8d2SThomas Wolf        "//org.eclipse.jgit.test:__pkg__",
137c506f8d2SThomas Wolf    ],
138bc5014faSJonathan Nieder    exports = ["@jsch//jar"],
139bc5014faSJonathan Nieder)
140bc5014faSJonathan Nieder
141bc5014faSJonathan Niederjava_library(
142cdc88247SMatthias Sohn    name = "jzlib",
143cdc88247SMatthias Sohn    visibility = [
144cdc88247SMatthias Sohn        "//org.eclipse.jgit:__pkg__",
145cdc88247SMatthias Sohn        "//org.eclipse.jgit.test:__pkg__",
146cdc88247SMatthias Sohn    ],
147cdc88247SMatthias Sohn    exports = ["@jzlib//jar"],
148cdc88247SMatthias Sohn)
149cdc88247SMatthias Sohn
150cdc88247SMatthias Sohnjava_library(
151bc5014faSJonathan Nieder    name = "junit",
15202fe1e0bSJonathan Nieder    testonly = 1,
15302fe1e0bSJonathan Nieder    visibility = ["//visibility:public"],
154fa2851ceSDavid Ostrovsky    exports = [
15519222ce7SDavid Pursehouse        "@hamcrest-core//jar",
15619222ce7SDavid Pursehouse        "@hamcrest-library//jar",
157904e9f8bSDavid Pursehouse        "@junit//jar",
1580f6ddb37SDavid Ostrovsky    ],
159bc5014faSJonathan Nieder)
160bc5014faSJonathan Nieder
161bc5014faSJonathan Niederjava_library(
162*2532fa74SMatthias Sohn    name = "mockito",
163*2532fa74SMatthias Sohn    testonly = 1,
164*2532fa74SMatthias Sohn    visibility = ["//visibility:public"],
165*2532fa74SMatthias Sohn    exports = [
166*2532fa74SMatthias Sohn        "@mockito//jar",
167*2532fa74SMatthias Sohn        "@byte_buddy//jar",
168*2532fa74SMatthias Sohn        "@byte_buddy_agent//jar",
169*2532fa74SMatthias Sohn        "@objenesis//jar",
170*2532fa74SMatthias Sohn    ],
171*2532fa74SMatthias Sohn)
172*2532fa74SMatthias Sohn
173*2532fa74SMatthias Sohnjava_library(
174bc5014faSJonathan Nieder    name = "servlet-api",
175bc5014faSJonathan Nieder    visibility = [
176bc5014faSJonathan Nieder        "//org.eclipse.jgit.http.apache:__pkg__",
177bc5014faSJonathan Nieder        "//org.eclipse.jgit.http.server:__pkg__",
1780f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.http.test:__pkg__",
1790f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.junit.http:__pkg__",
180bc5014faSJonathan Nieder        "//org.eclipse.jgit.lfs.server:__pkg__",
1810f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.lfs.server.test:__pkg__",
1820f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.pgm:__pkg__",
183bc5014faSJonathan Nieder    ],
18419222ce7SDavid Pursehouse    exports = ["@servlet-api-3_1//jar"],
185bc5014faSJonathan Nieder)
186bc5014faSJonathan Nieder
187bc5014faSJonathan Niederjava_library(
188bc5014faSJonathan Nieder    name = "slf4j-api",
189bc5014faSJonathan Nieder    visibility = ["//visibility:public"],
19019222ce7SDavid Pursehouse    exports = ["@log-api//jar"],
191bc5014faSJonathan Nieder)
1920f6ddb37SDavid Ostrovsky
1930f6ddb37SDavid Ostrovskyjava_library(
1940f6ddb37SDavid Ostrovsky    name = "slf4j-simple",
1950f6ddb37SDavid Ostrovsky    testonly = 1,
1960f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
19719222ce7SDavid Pursehouse    exports = ["@slf4j-simple//jar"],
1980f6ddb37SDavid Ostrovsky)
1990f6ddb37SDavid Ostrovsky
2000f6ddb37SDavid Ostrovskyjava_library(
2010f6ddb37SDavid Ostrovsky    name = "xz",
2020f6ddb37SDavid Ostrovsky    testonly = 1,
2030f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
20419222ce7SDavid Pursehouse    exports = ["@tukaani-xz//jar"],
2050f6ddb37SDavid Ostrovsky)
206