xref: /JGit/lib/BUILD (revision fa2851ce78b37601f64f818d92e251634ac1bb39)
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",
109bc5014faSJonathan Nieder    visibility = ["//org.eclipse.jgit:__pkg__"],
110bc5014faSJonathan Nieder    exports = ["@jsch//jar"],
111bc5014faSJonathan Nieder)
112bc5014faSJonathan Nieder
113bc5014faSJonathan Niederjava_library(
114bc5014faSJonathan Nieder    name = "junit",
11502fe1e0bSJonathan Nieder    testonly = 1,
11602fe1e0bSJonathan Nieder    visibility = ["//visibility:public"],
117*fa2851ceSDavid Ostrovsky    exports = [
118*fa2851ceSDavid Ostrovsky       "@junit//jar",
119*fa2851ceSDavid Ostrovsky       "@hamcrest_core//jar",
120*fa2851ceSDavid Ostrovsky       "@hamcrest_library//jar",
1210f6ddb37SDavid Ostrovsky    ],
122bc5014faSJonathan Nieder)
123bc5014faSJonathan Nieder
124bc5014faSJonathan Niederjava_library(
125bc5014faSJonathan Nieder    name = "servlet-api",
126bc5014faSJonathan Nieder    visibility = [
127bc5014faSJonathan Nieder        "//org.eclipse.jgit.http.apache:__pkg__",
128bc5014faSJonathan Nieder        "//org.eclipse.jgit.http.server:__pkg__",
1290f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.http.test:__pkg__",
1300f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.junit.http:__pkg__",
131bc5014faSJonathan Nieder        "//org.eclipse.jgit.lfs.server:__pkg__",
1320f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.lfs.server.test:__pkg__",
1330f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.pgm:__pkg__",
134bc5014faSJonathan Nieder    ],
135bc5014faSJonathan Nieder    exports = ["@servlet_api_3_1//jar"],
136bc5014faSJonathan Nieder)
137bc5014faSJonathan Nieder
138bc5014faSJonathan Niederjava_library(
139bc5014faSJonathan Nieder    name = "slf4j-api",
140bc5014faSJonathan Nieder    visibility = ["//visibility:public"],
141bc5014faSJonathan Nieder    exports = ["@log_api//jar"],
142bc5014faSJonathan Nieder)
1430f6ddb37SDavid Ostrovsky
1440f6ddb37SDavid Ostrovskyjava_library(
1450f6ddb37SDavid Ostrovsky    name = "slf4j-simple",
1460f6ddb37SDavid Ostrovsky    testonly = 1,
1470f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
1480f6ddb37SDavid Ostrovsky    exports = ["@slf4j_simple//jar"],
1490f6ddb37SDavid Ostrovsky)
1500f6ddb37SDavid Ostrovsky
1510f6ddb37SDavid Ostrovskyjava_library(
1520f6ddb37SDavid Ostrovsky    name = "xz",
1530f6ddb37SDavid Ostrovsky    testonly = 1,
1540f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
1550f6ddb37SDavid Ostrovsky    exports = ["@tukaani_xz//jar"],
1560f6ddb37SDavid Ostrovsky)
157