xref: /JGit/lib/BUILD (revision 35bb7ccc4c9ac39a8dd56dc1c192793cf128b171)
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    ],
16bc5014faSJonathan Nieder    exports = ["@commons_compress//jar"],
17bc5014faSJonathan Nieder)
18bc5014faSJonathan Nieder
19bc5014faSJonathan Niederjava_library(
200f6ddb37SDavid Ostrovsky    name = "commons-codec",
210f6ddb37SDavid Ostrovsky    exports = ["@commons_codec//jar"],
220f6ddb37SDavid Ostrovsky)
230f6ddb37SDavid Ostrovsky
240f6ddb37SDavid Ostrovskyjava_library(
250f6ddb37SDavid Ostrovsky    name = "commons-logging",
260f6ddb37SDavid Ostrovsky    testonly = 1,
270f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
280f6ddb37SDavid Ostrovsky    exports = ["@commons_logging//jar"],
290f6ddb37SDavid Ostrovsky)
300f6ddb37SDavid Ostrovsky
310f6ddb37SDavid Ostrovskyjava_library(
32bc5014faSJonathan Nieder    name = "gson",
33*35bb7cccSHan-Wen Nienhuys    visibility = [
34*35bb7cccSHan-Wen Nienhuys        "//org.eclipse.jgit.lfs:__pkg__",
35*35bb7cccSHan-Wen Nienhuys        "//org.eclipse.jgit.lfs.server:__pkg__",
36*35bb7cccSHan-Wen Nienhuys    ],
37bc5014faSJonathan Nieder    exports = ["@gson//jar"],
38bc5014faSJonathan Nieder)
39bc5014faSJonathan Nieder
40bc5014faSJonathan Niederjava_library(
41bc5014faSJonathan Nieder    name = "httpclient",
420f6ddb37SDavid Ostrovsky    visibility = [
430f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.http.apache:__pkg__",
440f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.lfs.server.test:__pkg__",
450f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.pgm:__pkg__",
460f6ddb37SDavid Ostrovsky    ],
47bc5014faSJonathan Nieder    exports = ["@httpclient//jar"],
48bc5014faSJonathan Nieder)
49bc5014faSJonathan Nieder
50bc5014faSJonathan Niederjava_library(
51bc5014faSJonathan Nieder    name = "httpcore",
52bc5014faSJonathan Nieder    visibility = [
53bc5014faSJonathan Nieder        "//org.eclipse.jgit.http.apache:__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(
62bc5014faSJonathan Nieder    name = "javaewah",
63bc5014faSJonathan Nieder    visibility = ["//visibility:public"],
64bc5014faSJonathan Nieder    exports = ["@javaewah//jar"],
65bc5014faSJonathan Nieder)
66bc5014faSJonathan Nieder
67bc5014faSJonathan Niederjava_library(
680f6ddb37SDavid Ostrovsky    name = "jetty-http",
690f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
700f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
710f6ddb37SDavid Ostrovsky    exports = ["@jetty_http//jar"],
720f6ddb37SDavid Ostrovsky    runtime_deps = [":commons-codec"],
730f6ddb37SDavid Ostrovsky)
740f6ddb37SDavid Ostrovsky
750f6ddb37SDavid Ostrovskyjava_library(
760f6ddb37SDavid Ostrovsky    name = "jetty-io",
770f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
780f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
790f6ddb37SDavid Ostrovsky    exports = ["@jetty_io//jar"],
800f6ddb37SDavid Ostrovsky)
810f6ddb37SDavid Ostrovsky
820f6ddb37SDavid Ostrovskyjava_library(
830f6ddb37SDavid Ostrovsky    name = "jetty-security",
840f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
850f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
860f6ddb37SDavid Ostrovsky    exports = ["@jetty_security//jar"],
870f6ddb37SDavid Ostrovsky)
880f6ddb37SDavid Ostrovsky
890f6ddb37SDavid Ostrovskyjava_library(
900f6ddb37SDavid Ostrovsky    name = "jetty-server",
910f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
920f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
930f6ddb37SDavid Ostrovsky    exports = ["@jetty_server//jar"],
940f6ddb37SDavid Ostrovsky)
950f6ddb37SDavid Ostrovsky
960f6ddb37SDavid Ostrovskyjava_library(
970f6ddb37SDavid Ostrovsky    name = "jetty-servlet",
980f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
990f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
1000f6ddb37SDavid Ostrovsky    exports = ["@jetty_servlet//jar"],
1010f6ddb37SDavid Ostrovsky)
1020f6ddb37SDavid Ostrovsky
1030f6ddb37SDavid Ostrovskyjava_library(
1040f6ddb37SDavid Ostrovsky    name = "jetty-util",
1050f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
1060f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
1070f6ddb37SDavid Ostrovsky    exports = ["@jetty_util//jar"],
1080f6ddb37SDavid Ostrovsky)
1090f6ddb37SDavid Ostrovsky
1100f6ddb37SDavid Ostrovskyjava_library(
111bc5014faSJonathan Nieder    name = "jsch",
112c506f8d2SThomas Wolf    visibility = [
113c506f8d2SThomas Wolf        "//org.eclipse.jgit:__pkg__",
114c506f8d2SThomas Wolf        "//org.eclipse.jgit.test:__pkg__",
115c506f8d2SThomas Wolf    ],
116bc5014faSJonathan Nieder    exports = ["@jsch//jar"],
117bc5014faSJonathan Nieder)
118bc5014faSJonathan Nieder
119bc5014faSJonathan Niederjava_library(
120cdc88247SMatthias Sohn    name = "jzlib",
121cdc88247SMatthias Sohn    visibility = [
122cdc88247SMatthias Sohn        "//org.eclipse.jgit:__pkg__",
123cdc88247SMatthias Sohn        "//org.eclipse.jgit.test:__pkg__",
124cdc88247SMatthias Sohn    ],
125cdc88247SMatthias Sohn    exports = ["@jzlib//jar"],
126cdc88247SMatthias Sohn)
127cdc88247SMatthias Sohn
128cdc88247SMatthias Sohnjava_library(
129bc5014faSJonathan Nieder    name = "junit",
13002fe1e0bSJonathan Nieder    testonly = 1,
13102fe1e0bSJonathan Nieder    visibility = ["//visibility:public"],
132fa2851ceSDavid Ostrovsky    exports = [
133fa2851ceSDavid Ostrovsky        "@hamcrest_core//jar",
134fa2851ceSDavid Ostrovsky        "@hamcrest_library//jar",
135904e9f8bSDavid Pursehouse        "@junit//jar",
1360f6ddb37SDavid Ostrovsky    ],
137bc5014faSJonathan Nieder)
138bc5014faSJonathan Nieder
139bc5014faSJonathan Niederjava_library(
140bc5014faSJonathan Nieder    name = "servlet-api",
141bc5014faSJonathan Nieder    visibility = [
142bc5014faSJonathan Nieder        "//org.eclipse.jgit.http.apache:__pkg__",
143bc5014faSJonathan Nieder        "//org.eclipse.jgit.http.server:__pkg__",
1440f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.http.test:__pkg__",
1450f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.junit.http:__pkg__",
146bc5014faSJonathan Nieder        "//org.eclipse.jgit.lfs.server:__pkg__",
1470f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.lfs.server.test:__pkg__",
1480f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.pgm:__pkg__",
149bc5014faSJonathan Nieder    ],
150bc5014faSJonathan Nieder    exports = ["@servlet_api_3_1//jar"],
151bc5014faSJonathan Nieder)
152bc5014faSJonathan Nieder
153bc5014faSJonathan Niederjava_library(
154bc5014faSJonathan Nieder    name = "slf4j-api",
155bc5014faSJonathan Nieder    visibility = ["//visibility:public"],
156bc5014faSJonathan Nieder    exports = ["@log_api//jar"],
157bc5014faSJonathan Nieder)
1580f6ddb37SDavid Ostrovsky
1590f6ddb37SDavid Ostrovskyjava_library(
1600f6ddb37SDavid Ostrovsky    name = "slf4j-simple",
1610f6ddb37SDavid Ostrovsky    testonly = 1,
1620f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
1630f6ddb37SDavid Ostrovsky    exports = ["@slf4j_simple//jar"],
1640f6ddb37SDavid Ostrovsky)
1650f6ddb37SDavid Ostrovsky
1660f6ddb37SDavid Ostrovskyjava_library(
1670f6ddb37SDavid Ostrovsky    name = "xz",
1680f6ddb37SDavid Ostrovsky    testonly = 1,
1690f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
1700f6ddb37SDavid Ostrovsky    exports = ["@tukaani_xz//jar"],
1710f6ddb37SDavid Ostrovsky)
172