xref: /JGit/lib/BUILD (revision cdc88247b9aabade23db90dbc3541eda989957f4)
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",
33bc5014faSJonathan Nieder    visibility = ["//org.eclipse.jgit.lfs.server:__pkg__"],
34bc5014faSJonathan Nieder    exports = ["@gson//jar"],
35bc5014faSJonathan Nieder)
36bc5014faSJonathan Nieder
37bc5014faSJonathan Niederjava_library(
38bc5014faSJonathan Nieder    name = "httpclient",
390f6ddb37SDavid Ostrovsky    visibility = [
400f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.http.apache:__pkg__",
410f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.lfs.server.test:__pkg__",
420f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.pgm:__pkg__",
430f6ddb37SDavid Ostrovsky    ],
44bc5014faSJonathan Nieder    exports = ["@httpclient//jar"],
45bc5014faSJonathan Nieder)
46bc5014faSJonathan Nieder
47bc5014faSJonathan Niederjava_library(
48bc5014faSJonathan Nieder    name = "httpcore",
49bc5014faSJonathan Nieder    visibility = [
50bc5014faSJonathan Nieder        "//org.eclipse.jgit.http.apache:__pkg__",
51bc5014faSJonathan Nieder        "//org.eclipse.jgit.lfs.server:__pkg__",
520f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.lfs.server.test:__pkg__",
530f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.pgm:__pkg__",
54bc5014faSJonathan Nieder    ],
55bc5014faSJonathan Nieder    exports = ["@httpcore//jar"],
56bc5014faSJonathan Nieder)
57bc5014faSJonathan Nieder
58bc5014faSJonathan Niederjava_library(
59bc5014faSJonathan Nieder    name = "javaewah",
60bc5014faSJonathan Nieder    visibility = ["//visibility:public"],
61bc5014faSJonathan Nieder    exports = ["@javaewah//jar"],
62bc5014faSJonathan Nieder)
63bc5014faSJonathan Nieder
64bc5014faSJonathan Niederjava_library(
650f6ddb37SDavid Ostrovsky    name = "jetty-http",
660f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
670f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
680f6ddb37SDavid Ostrovsky    exports = ["@jetty_http//jar"],
690f6ddb37SDavid Ostrovsky    runtime_deps = [":commons-codec"],
700f6ddb37SDavid Ostrovsky)
710f6ddb37SDavid Ostrovsky
720f6ddb37SDavid Ostrovskyjava_library(
730f6ddb37SDavid Ostrovsky    name = "jetty-io",
740f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
750f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
760f6ddb37SDavid Ostrovsky    exports = ["@jetty_io//jar"],
770f6ddb37SDavid Ostrovsky)
780f6ddb37SDavid Ostrovsky
790f6ddb37SDavid Ostrovskyjava_library(
800f6ddb37SDavid Ostrovsky    name = "jetty-security",
810f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
820f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
830f6ddb37SDavid Ostrovsky    exports = ["@jetty_security//jar"],
840f6ddb37SDavid Ostrovsky)
850f6ddb37SDavid Ostrovsky
860f6ddb37SDavid Ostrovskyjava_library(
870f6ddb37SDavid Ostrovsky    name = "jetty-server",
880f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
890f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
900f6ddb37SDavid Ostrovsky    exports = ["@jetty_server//jar"],
910f6ddb37SDavid Ostrovsky)
920f6ddb37SDavid Ostrovsky
930f6ddb37SDavid Ostrovskyjava_library(
940f6ddb37SDavid Ostrovsky    name = "jetty-servlet",
950f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
960f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
970f6ddb37SDavid Ostrovsky    exports = ["@jetty_servlet//jar"],
980f6ddb37SDavid Ostrovsky)
990f6ddb37SDavid Ostrovsky
1000f6ddb37SDavid Ostrovskyjava_library(
1010f6ddb37SDavid Ostrovsky    name = "jetty-util",
1020f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
1030f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
1040f6ddb37SDavid Ostrovsky    exports = ["@jetty_util//jar"],
1050f6ddb37SDavid Ostrovsky)
1060f6ddb37SDavid Ostrovsky
1070f6ddb37SDavid Ostrovskyjava_library(
108bc5014faSJonathan Nieder    name = "jsch",
109c506f8d2SThomas Wolf    visibility = [
110c506f8d2SThomas Wolf        "//org.eclipse.jgit:__pkg__",
111c506f8d2SThomas Wolf        "//org.eclipse.jgit.test:__pkg__",
112c506f8d2SThomas Wolf    ],
113bc5014faSJonathan Nieder    exports = ["@jsch//jar"],
114bc5014faSJonathan Nieder)
115bc5014faSJonathan Nieder
116bc5014faSJonathan Niederjava_library(
117*cdc88247SMatthias Sohn    name = "jzlib",
118*cdc88247SMatthias Sohn    visibility = [
119*cdc88247SMatthias Sohn        "//org.eclipse.jgit:__pkg__",
120*cdc88247SMatthias Sohn        "//org.eclipse.jgit.test:__pkg__",
121*cdc88247SMatthias Sohn    ],
122*cdc88247SMatthias Sohn    exports = ["@jzlib//jar"],
123*cdc88247SMatthias Sohn)
124*cdc88247SMatthias Sohn
125*cdc88247SMatthias Sohnjava_library(
126bc5014faSJonathan Nieder    name = "junit",
12702fe1e0bSJonathan Nieder    testonly = 1,
12802fe1e0bSJonathan Nieder    visibility = ["//visibility:public"],
129fa2851ceSDavid Ostrovsky    exports = [
130fa2851ceSDavid Ostrovsky        "@hamcrest_core//jar",
131fa2851ceSDavid Ostrovsky        "@hamcrest_library//jar",
132904e9f8bSDavid Pursehouse        "@junit//jar",
1330f6ddb37SDavid Ostrovsky    ],
134bc5014faSJonathan Nieder)
135bc5014faSJonathan Nieder
136bc5014faSJonathan Niederjava_library(
137bc5014faSJonathan Nieder    name = "servlet-api",
138bc5014faSJonathan Nieder    visibility = [
139bc5014faSJonathan Nieder        "//org.eclipse.jgit.http.apache:__pkg__",
140bc5014faSJonathan Nieder        "//org.eclipse.jgit.http.server:__pkg__",
1410f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.http.test:__pkg__",
1420f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.junit.http:__pkg__",
143bc5014faSJonathan Nieder        "//org.eclipse.jgit.lfs.server:__pkg__",
1440f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.lfs.server.test:__pkg__",
1450f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.pgm:__pkg__",
146bc5014faSJonathan Nieder    ],
147bc5014faSJonathan Nieder    exports = ["@servlet_api_3_1//jar"],
148bc5014faSJonathan Nieder)
149bc5014faSJonathan Nieder
150bc5014faSJonathan Niederjava_library(
151bc5014faSJonathan Nieder    name = "slf4j-api",
152bc5014faSJonathan Nieder    visibility = ["//visibility:public"],
153bc5014faSJonathan Nieder    exports = ["@log_api//jar"],
154bc5014faSJonathan Nieder)
1550f6ddb37SDavid Ostrovsky
1560f6ddb37SDavid Ostrovskyjava_library(
1570f6ddb37SDavid Ostrovsky    name = "slf4j-simple",
1580f6ddb37SDavid Ostrovsky    testonly = 1,
1590f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
1600f6ddb37SDavid Ostrovsky    exports = ["@slf4j_simple//jar"],
1610f6ddb37SDavid Ostrovsky)
1620f6ddb37SDavid Ostrovsky
1630f6ddb37SDavid Ostrovskyjava_library(
1640f6ddb37SDavid Ostrovsky    name = "xz",
1650f6ddb37SDavid Ostrovsky    testonly = 1,
1660f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
1670f6ddb37SDavid Ostrovsky    exports = ["@tukaani_xz//jar"],
1680f6ddb37SDavid Ostrovsky)
169