xref: /JGit/lib/BUILD (revision 0f6ddb372bc24a010c85849dfc80f72fc8cd604d)
1bc5014faSJonathan Niederjava_library(
2*0f6ddb37SDavid Ostrovsky    name = "args4j",
3*0f6ddb37SDavid Ostrovsky    visibility = [
4*0f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.pgm:__pkg__",
5*0f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.pgm.test:__pkg__",
6*0f6ddb37SDavid Ostrovsky    ],
7*0f6ddb37SDavid Ostrovsky    exports = ["@args4j//jar"],
8*0f6ddb37SDavid Ostrovsky)
9*0f6ddb37SDavid Ostrovsky
10*0f6ddb37SDavid Ostrovskyjava_library(
11bc5014faSJonathan Nieder    name = "commons-compress",
12*0f6ddb37SDavid Ostrovsky    visibility = [
13*0f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.archive:__pkg__",
14*0f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.pgm.test:__pkg__",
15*0f6ddb37SDavid Ostrovsky    ],
16bc5014faSJonathan Nieder    exports = ["@commons_compress//jar"],
17bc5014faSJonathan Nieder)
18bc5014faSJonathan Nieder
19bc5014faSJonathan Niederjava_library(
20*0f6ddb37SDavid Ostrovsky    name = "commons-codec",
21*0f6ddb37SDavid Ostrovsky    exports = ["@commons_codec//jar"],
22*0f6ddb37SDavid Ostrovsky)
23*0f6ddb37SDavid Ostrovsky
24*0f6ddb37SDavid Ostrovskyjava_library(
25*0f6ddb37SDavid Ostrovsky    name = "commons-logging",
26*0f6ddb37SDavid Ostrovsky    testonly = 1,
27*0f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
28*0f6ddb37SDavid Ostrovsky    exports = ["@commons_logging//jar"],
29*0f6ddb37SDavid Ostrovsky)
30*0f6ddb37SDavid Ostrovsky
31*0f6ddb37SDavid 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(
38*0f6ddb37SDavid Ostrovsky    name = "hamcrest-core",
39*0f6ddb37SDavid Ostrovsky    testonly = 1,
40*0f6ddb37SDavid Ostrovsky    exports = ["@hamcrest_core//jar"],
41*0f6ddb37SDavid Ostrovsky)
42*0f6ddb37SDavid Ostrovsky
43*0f6ddb37SDavid Ostrovskyjava_library(
44*0f6ddb37SDavid Ostrovsky    name = "hamcrest-library",
45*0f6ddb37SDavid Ostrovsky    testonly = 1,
46*0f6ddb37SDavid Ostrovsky    exports = ["@hamcrest_library//jar"],
47*0f6ddb37SDavid Ostrovsky)
48*0f6ddb37SDavid Ostrovsky
49*0f6ddb37SDavid Ostrovskyjava_library(
50bc5014faSJonathan Nieder    name = "httpclient",
51*0f6ddb37SDavid Ostrovsky    visibility = [
52*0f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.http.apache:__pkg__",
53*0f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.lfs.server.test:__pkg__",
54*0f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.pgm:__pkg__",
55*0f6ddb37SDavid Ostrovsky    ],
56bc5014faSJonathan Nieder    exports = ["@httpclient//jar"],
57bc5014faSJonathan Nieder)
58bc5014faSJonathan Nieder
59bc5014faSJonathan Niederjava_library(
60bc5014faSJonathan Nieder    name = "httpcore",
61bc5014faSJonathan Nieder    visibility = [
62bc5014faSJonathan Nieder        "//org.eclipse.jgit.http.apache:__pkg__",
63bc5014faSJonathan Nieder        "//org.eclipse.jgit.lfs.server:__pkg__",
64*0f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.lfs.server.test:__pkg__",
65*0f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.pgm:__pkg__",
66bc5014faSJonathan Nieder    ],
67bc5014faSJonathan Nieder    exports = ["@httpcore//jar"],
68bc5014faSJonathan Nieder)
69bc5014faSJonathan Nieder
70bc5014faSJonathan Niederjava_library(
71bc5014faSJonathan Nieder    name = "javaewah",
72bc5014faSJonathan Nieder    visibility = ["//visibility:public"],
73bc5014faSJonathan Nieder    exports = ["@javaewah//jar"],
74bc5014faSJonathan Nieder)
75bc5014faSJonathan Nieder
76bc5014faSJonathan Niederjava_library(
77*0f6ddb37SDavid Ostrovsky    name = "jetty-http",
78*0f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
79*0f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
80*0f6ddb37SDavid Ostrovsky    exports = ["@jetty_http//jar"],
81*0f6ddb37SDavid Ostrovsky    runtime_deps = [":commons-codec"],
82*0f6ddb37SDavid Ostrovsky)
83*0f6ddb37SDavid Ostrovsky
84*0f6ddb37SDavid Ostrovskyjava_library(
85*0f6ddb37SDavid Ostrovsky    name = "jetty-io",
86*0f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
87*0f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
88*0f6ddb37SDavid Ostrovsky    exports = ["@jetty_io//jar"],
89*0f6ddb37SDavid Ostrovsky)
90*0f6ddb37SDavid Ostrovsky
91*0f6ddb37SDavid Ostrovskyjava_library(
92*0f6ddb37SDavid Ostrovsky    name = "jetty-security",
93*0f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
94*0f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
95*0f6ddb37SDavid Ostrovsky    exports = ["@jetty_security//jar"],
96*0f6ddb37SDavid Ostrovsky)
97*0f6ddb37SDavid Ostrovsky
98*0f6ddb37SDavid Ostrovskyjava_library(
99*0f6ddb37SDavid Ostrovsky    name = "jetty-server",
100*0f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
101*0f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
102*0f6ddb37SDavid Ostrovsky    exports = ["@jetty_server//jar"],
103*0f6ddb37SDavid Ostrovsky)
104*0f6ddb37SDavid Ostrovsky
105*0f6ddb37SDavid Ostrovskyjava_library(
106*0f6ddb37SDavid Ostrovsky    name = "jetty-servlet",
107*0f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
108*0f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
109*0f6ddb37SDavid Ostrovsky    exports = ["@jetty_servlet//jar"],
110*0f6ddb37SDavid Ostrovsky)
111*0f6ddb37SDavid Ostrovsky
112*0f6ddb37SDavid Ostrovskyjava_library(
113*0f6ddb37SDavid Ostrovsky    name = "jetty-util",
114*0f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
115*0f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
116*0f6ddb37SDavid Ostrovsky    exports = ["@jetty_util//jar"],
117*0f6ddb37SDavid Ostrovsky)
118*0f6ddb37SDavid Ostrovsky
119*0f6ddb37SDavid Ostrovskyjava_library(
120bc5014faSJonathan Nieder    name = "jsch",
121bc5014faSJonathan Nieder    visibility = ["//org.eclipse.jgit:__pkg__"],
122bc5014faSJonathan Nieder    exports = ["@jsch//jar"],
123bc5014faSJonathan Nieder)
124bc5014faSJonathan Nieder
125bc5014faSJonathan Niederjava_library(
126bc5014faSJonathan Nieder    name = "junit",
12702fe1e0bSJonathan Nieder    testonly = 1,
12802fe1e0bSJonathan Nieder    visibility = ["//visibility:public"],
129bc5014faSJonathan Nieder    exports = ["@junit//jar"],
130*0f6ddb37SDavid Ostrovsky    runtime_deps = [
131*0f6ddb37SDavid Ostrovsky        ":hamcrest-core",
132*0f6ddb37SDavid Ostrovsky        ":hamcrest-library",
133*0f6ddb37SDavid 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__",
141*0f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.http.test:__pkg__",
142*0f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.junit.http:__pkg__",
143bc5014faSJonathan Nieder        "//org.eclipse.jgit.lfs.server:__pkg__",
144*0f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.lfs.server.test:__pkg__",
145*0f6ddb37SDavid 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)
155*0f6ddb37SDavid Ostrovsky
156*0f6ddb37SDavid Ostrovskyjava_library(
157*0f6ddb37SDavid Ostrovsky    name = "slf4j-simple",
158*0f6ddb37SDavid Ostrovsky    testonly = 1,
159*0f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
160*0f6ddb37SDavid Ostrovsky    exports = ["@slf4j_simple//jar"],
161*0f6ddb37SDavid Ostrovsky)
162*0f6ddb37SDavid Ostrovsky
163*0f6ddb37SDavid Ostrovskyjava_library(
164*0f6ddb37SDavid Ostrovsky    name = "xz",
165*0f6ddb37SDavid Ostrovsky    testonly = 1,
166*0f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
167*0f6ddb37SDavid Ostrovsky    exports = ["@tukaani_xz//jar"],
168*0f6ddb37SDavid Ostrovsky)
169