xref: /JGit/lib/BUILD (revision 08b0a8632d54a24d92075b94d0b0134b69146ba2)
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(
62*08b0a863SThomas Wolf    name = "sshd-core",
63*08b0a863SThomas Wolf    visibility = [
64*08b0a863SThomas Wolf        "//org.eclipse.jgit.junit:__pkg__",
65*08b0a863SThomas Wolf        "//org.eclipse.jgit.test:__pkg__",
66*08b0a863SThomas Wolf    ],
67*08b0a863SThomas Wolf    exports = ["@sshd-core//jar"],
68*08b0a863SThomas Wolf)
69*08b0a863SThomas Wolf
70*08b0a863SThomas Wolfjava_library(
71*08b0a863SThomas Wolf    name = "sshd-sftp",
72*08b0a863SThomas Wolf    visibility = [
73*08b0a863SThomas Wolf        "//org.eclipse.jgit.junit:__pkg__",
74*08b0a863SThomas Wolf        "//org.eclipse.jgit.test:__pkg__",
75*08b0a863SThomas Wolf    ],
76*08b0a863SThomas Wolf    exports = ["@sshd-sftp//jar"],
77*08b0a863SThomas Wolf)
78*08b0a863SThomas Wolf
79*08b0a863SThomas Wolfjava_library(
80bc5014faSJonathan Nieder    name = "javaewah",
81bc5014faSJonathan Nieder    visibility = ["//visibility:public"],
82bc5014faSJonathan Nieder    exports = ["@javaewah//jar"],
83bc5014faSJonathan Nieder)
84bc5014faSJonathan Nieder
85bc5014faSJonathan Niederjava_library(
860f6ddb37SDavid Ostrovsky    name = "jetty-http",
870f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
880f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
8919222ce7SDavid Pursehouse    exports = ["@jetty-http//jar"],
900f6ddb37SDavid Ostrovsky    runtime_deps = [":commons-codec"],
910f6ddb37SDavid Ostrovsky)
920f6ddb37SDavid Ostrovsky
930f6ddb37SDavid Ostrovskyjava_library(
940f6ddb37SDavid Ostrovsky    name = "jetty-io",
950f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
960f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
9719222ce7SDavid Pursehouse    exports = ["@jetty-io//jar"],
980f6ddb37SDavid Ostrovsky)
990f6ddb37SDavid Ostrovsky
1000f6ddb37SDavid Ostrovskyjava_library(
1010f6ddb37SDavid Ostrovsky    name = "jetty-security",
1020f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
1030f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
10419222ce7SDavid Pursehouse    exports = ["@jetty-security//jar"],
1050f6ddb37SDavid Ostrovsky)
1060f6ddb37SDavid Ostrovsky
1070f6ddb37SDavid Ostrovskyjava_library(
1080f6ddb37SDavid Ostrovsky    name = "jetty-server",
1090f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
1100f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
11119222ce7SDavid Pursehouse    exports = ["@jetty-server//jar"],
1120f6ddb37SDavid Ostrovsky)
1130f6ddb37SDavid Ostrovsky
1140f6ddb37SDavid Ostrovskyjava_library(
1150f6ddb37SDavid Ostrovsky    name = "jetty-servlet",
1160f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
1170f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
11819222ce7SDavid Pursehouse    exports = ["@jetty-servlet//jar"],
1190f6ddb37SDavid Ostrovsky)
1200f6ddb37SDavid Ostrovsky
1210f6ddb37SDavid Ostrovskyjava_library(
1220f6ddb37SDavid Ostrovsky    name = "jetty-util",
1230f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
1240f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
12519222ce7SDavid Pursehouse    exports = ["@jetty-util//jar"],
1260f6ddb37SDavid Ostrovsky)
1270f6ddb37SDavid Ostrovsky
1280f6ddb37SDavid Ostrovskyjava_library(
129bc5014faSJonathan Nieder    name = "jsch",
130c506f8d2SThomas Wolf    visibility = [
131c506f8d2SThomas Wolf        "//org.eclipse.jgit:__pkg__",
132c506f8d2SThomas Wolf        "//org.eclipse.jgit.test:__pkg__",
133c506f8d2SThomas Wolf    ],
134bc5014faSJonathan Nieder    exports = ["@jsch//jar"],
135bc5014faSJonathan Nieder)
136bc5014faSJonathan Nieder
137bc5014faSJonathan Niederjava_library(
138cdc88247SMatthias Sohn    name = "jzlib",
139cdc88247SMatthias Sohn    visibility = [
140cdc88247SMatthias Sohn        "//org.eclipse.jgit:__pkg__",
141cdc88247SMatthias Sohn        "//org.eclipse.jgit.test:__pkg__",
142cdc88247SMatthias Sohn    ],
143cdc88247SMatthias Sohn    exports = ["@jzlib//jar"],
144cdc88247SMatthias Sohn)
145cdc88247SMatthias Sohn
146cdc88247SMatthias Sohnjava_library(
147bc5014faSJonathan Nieder    name = "junit",
14802fe1e0bSJonathan Nieder    testonly = 1,
14902fe1e0bSJonathan Nieder    visibility = ["//visibility:public"],
150fa2851ceSDavid Ostrovsky    exports = [
15119222ce7SDavid Pursehouse        "@hamcrest-core//jar",
15219222ce7SDavid Pursehouse        "@hamcrest-library//jar",
153904e9f8bSDavid Pursehouse        "@junit//jar",
1540f6ddb37SDavid Ostrovsky    ],
155bc5014faSJonathan Nieder)
156bc5014faSJonathan Nieder
157bc5014faSJonathan Niederjava_library(
158bc5014faSJonathan Nieder    name = "servlet-api",
159bc5014faSJonathan Nieder    visibility = [
160bc5014faSJonathan Nieder        "//org.eclipse.jgit.http.apache:__pkg__",
161bc5014faSJonathan Nieder        "//org.eclipse.jgit.http.server:__pkg__",
1620f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.http.test:__pkg__",
1630f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.junit.http:__pkg__",
164bc5014faSJonathan Nieder        "//org.eclipse.jgit.lfs.server:__pkg__",
1650f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.lfs.server.test:__pkg__",
1660f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.pgm:__pkg__",
167bc5014faSJonathan Nieder    ],
16819222ce7SDavid Pursehouse    exports = ["@servlet-api-3_1//jar"],
169bc5014faSJonathan Nieder)
170bc5014faSJonathan Nieder
171bc5014faSJonathan Niederjava_library(
172bc5014faSJonathan Nieder    name = "slf4j-api",
173bc5014faSJonathan Nieder    visibility = ["//visibility:public"],
17419222ce7SDavid Pursehouse    exports = ["@log-api//jar"],
175bc5014faSJonathan Nieder)
1760f6ddb37SDavid Ostrovsky
1770f6ddb37SDavid Ostrovskyjava_library(
1780f6ddb37SDavid Ostrovsky    name = "slf4j-simple",
1790f6ddb37SDavid Ostrovsky    testonly = 1,
1800f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
18119222ce7SDavid Pursehouse    exports = ["@slf4j-simple//jar"],
1820f6ddb37SDavid Ostrovsky)
1830f6ddb37SDavid Ostrovsky
1840f6ddb37SDavid Ostrovskyjava_library(
1850f6ddb37SDavid Ostrovsky    name = "xz",
1860f6ddb37SDavid Ostrovsky    testonly = 1,
1870f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
18819222ce7SDavid Pursehouse    exports = ["@tukaani-xz//jar"],
1890f6ddb37SDavid Ostrovsky)
190