xref: /JGit/lib/BUILD (revision 4d46a68abee7a59bba7c5d85b5ad90206bc1d757)
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__",
150aa8eca5SDavid Pursehouse        "//org.eclipse.jgit.test:__pkg__",
160f6ddb37SDavid Ostrovsky    ],
17af547cf0SDavid Pursehouse    exports = ["@commons-compress//jar"],
18bc5014faSJonathan Nieder)
19bc5014faSJonathan Nieder
20bc5014faSJonathan Niederjava_library(
210f6ddb37SDavid Ostrovsky    name = "commons-codec",
22af547cf0SDavid Pursehouse    exports = ["@commons-codec//jar"],
230f6ddb37SDavid Ostrovsky)
240f6ddb37SDavid Ostrovsky
250f6ddb37SDavid Ostrovskyjava_library(
260f6ddb37SDavid Ostrovsky    name = "commons-logging",
270f6ddb37SDavid Ostrovsky    testonly = 1,
280f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
29af547cf0SDavid Pursehouse    exports = ["@commons-logging//jar"],
300f6ddb37SDavid Ostrovsky)
310f6ddb37SDavid Ostrovsky
320f6ddb37SDavid Ostrovskyjava_library(
33bc5014faSJonathan Nieder    name = "gson",
3435bb7cccSHan-Wen Nienhuys    visibility = [
3535bb7cccSHan-Wen Nienhuys        "//org.eclipse.jgit.lfs:__pkg__",
3635bb7cccSHan-Wen Nienhuys        "//org.eclipse.jgit.lfs.server:__pkg__",
3735bb7cccSHan-Wen Nienhuys    ],
38bc5014faSJonathan Nieder    exports = ["@gson//jar"],
39bc5014faSJonathan Nieder)
40bc5014faSJonathan Nieder
41bc5014faSJonathan Niederjava_library(
42bc5014faSJonathan Nieder    name = "httpclient",
430f6ddb37SDavid Ostrovsky    visibility = [
440f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.http.apache:__pkg__",
450f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.lfs.server.test:__pkg__",
460f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.pgm:__pkg__",
470f6ddb37SDavid Ostrovsky    ],
48bc5014faSJonathan Nieder    exports = ["@httpclient//jar"],
49bc5014faSJonathan Nieder)
50bc5014faSJonathan Nieder
51bc5014faSJonathan Niederjava_library(
52bc5014faSJonathan Nieder    name = "httpcore",
53bc5014faSJonathan Nieder    visibility = [
54bc5014faSJonathan Nieder        "//org.eclipse.jgit.http.apache:__pkg__",
55280707b0SGabriel Couto        "//org.eclipse.jgit.http.test:__pkg__",
56bc5014faSJonathan Nieder        "//org.eclipse.jgit.lfs.server:__pkg__",
570f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.lfs.server.test:__pkg__",
580f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.pgm:__pkg__",
59bc5014faSJonathan Nieder    ],
60bc5014faSJonathan Nieder    exports = ["@httpcore//jar"],
61bc5014faSJonathan Nieder)
62bc5014faSJonathan Nieder
63bc5014faSJonathan Niederjava_library(
64bc5014faSJonathan Nieder    name = "javaewah",
65bc5014faSJonathan Nieder    visibility = ["//visibility:public"],
66bc5014faSJonathan Nieder    exports = ["@javaewah//jar"],
67bc5014faSJonathan Nieder)
68bc5014faSJonathan Nieder
69bc5014faSJonathan Niederjava_library(
700f6ddb37SDavid Ostrovsky    name = "jetty-http",
710f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
720f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
73af547cf0SDavid Pursehouse    exports = ["@jetty-http//jar"],
740f6ddb37SDavid Ostrovsky    runtime_deps = [":commons-codec"],
750f6ddb37SDavid Ostrovsky)
760f6ddb37SDavid Ostrovsky
770f6ddb37SDavid Ostrovskyjava_library(
780f6ddb37SDavid Ostrovsky    name = "jetty-io",
790f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
800f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
81af547cf0SDavid Pursehouse    exports = ["@jetty-io//jar"],
820f6ddb37SDavid Ostrovsky)
830f6ddb37SDavid Ostrovsky
840f6ddb37SDavid Ostrovskyjava_library(
850f6ddb37SDavid Ostrovsky    name = "jetty-security",
860f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
870f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
88af547cf0SDavid Pursehouse    exports = ["@jetty-security//jar"],
890f6ddb37SDavid Ostrovsky)
900f6ddb37SDavid Ostrovsky
910f6ddb37SDavid Ostrovskyjava_library(
920f6ddb37SDavid Ostrovsky    name = "jetty-server",
930f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
940f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
95af547cf0SDavid Pursehouse    exports = ["@jetty-server//jar"],
960f6ddb37SDavid Ostrovsky)
970f6ddb37SDavid Ostrovsky
980f6ddb37SDavid Ostrovskyjava_library(
990f6ddb37SDavid Ostrovsky    name = "jetty-servlet",
1000f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
1010f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
102af547cf0SDavid Pursehouse    exports = ["@jetty-servlet//jar"],
1030f6ddb37SDavid Ostrovsky)
1040f6ddb37SDavid Ostrovsky
1050f6ddb37SDavid Ostrovskyjava_library(
1060f6ddb37SDavid Ostrovsky    name = "jetty-util",
1070f6ddb37SDavid Ostrovsky    # TODO: This should be testonly but org.eclipse.jgit.pgm depends on it.
1080f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
109af547cf0SDavid Pursehouse    exports = ["@jetty-util//jar"],
1100f6ddb37SDavid Ostrovsky)
1110f6ddb37SDavid Ostrovsky
1120f6ddb37SDavid Ostrovskyjava_library(
113bc5014faSJonathan Nieder    name = "jsch",
114c506f8d2SThomas Wolf    visibility = [
115c506f8d2SThomas Wolf        "//org.eclipse.jgit:__pkg__",
116c506f8d2SThomas Wolf        "//org.eclipse.jgit.test:__pkg__",
117c506f8d2SThomas Wolf    ],
118bc5014faSJonathan Nieder    exports = ["@jsch//jar"],
119bc5014faSJonathan Nieder)
120bc5014faSJonathan Nieder
121bc5014faSJonathan Niederjava_library(
122cdc88247SMatthias Sohn    name = "jzlib",
123cdc88247SMatthias Sohn    visibility = [
124cdc88247SMatthias Sohn        "//org.eclipse.jgit:__pkg__",
125cdc88247SMatthias Sohn        "//org.eclipse.jgit.test:__pkg__",
126cdc88247SMatthias Sohn    ],
127cdc88247SMatthias Sohn    exports = ["@jzlib//jar"],
128cdc88247SMatthias Sohn)
129cdc88247SMatthias Sohn
130cdc88247SMatthias Sohnjava_library(
131bc5014faSJonathan Nieder    name = "junit",
13202fe1e0bSJonathan Nieder    testonly = 1,
13302fe1e0bSJonathan Nieder    visibility = ["//visibility:public"],
134fa2851ceSDavid Ostrovsky    exports = [
135*4d46a68aSMatthias Sohn        "@bytebuddy//jar",
136*4d46a68aSMatthias Sohn        "@bytebuddy-agent//jar",
137af547cf0SDavid Pursehouse        "@hamcrest-core//jar",
138af547cf0SDavid Pursehouse        "@hamcrest-library//jar",
139904e9f8bSDavid Pursehouse        "@junit//jar",
140*4d46a68aSMatthias Sohn        "@mockito-core//jar",
141*4d46a68aSMatthias Sohn        "@objenesis//jar"
1420f6ddb37SDavid Ostrovsky    ],
143bc5014faSJonathan Nieder)
144bc5014faSJonathan Nieder
145bc5014faSJonathan Niederjava_library(
146bc5014faSJonathan Nieder    name = "servlet-api",
147bc5014faSJonathan Nieder    visibility = [
148bc5014faSJonathan Nieder        "//org.eclipse.jgit.http.apache:__pkg__",
149bc5014faSJonathan Nieder        "//org.eclipse.jgit.http.server:__pkg__",
1500f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.http.test:__pkg__",
1510f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.junit.http:__pkg__",
152bc5014faSJonathan Nieder        "//org.eclipse.jgit.lfs.server:__pkg__",
1530f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.lfs.server.test:__pkg__",
1540f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.pgm:__pkg__",
155bc5014faSJonathan Nieder    ],
156af547cf0SDavid Pursehouse    exports = ["@servlet-api-3_1//jar"],
157bc5014faSJonathan Nieder)
158bc5014faSJonathan Nieder
159bc5014faSJonathan Niederjava_library(
160bc5014faSJonathan Nieder    name = "slf4j-api",
161bc5014faSJonathan Nieder    visibility = ["//visibility:public"],
162af547cf0SDavid Pursehouse    exports = ["@log-api//jar"],
163bc5014faSJonathan Nieder)
1640f6ddb37SDavid Ostrovsky
1650f6ddb37SDavid Ostrovskyjava_library(
1660f6ddb37SDavid Ostrovsky    name = "slf4j-simple",
1670f6ddb37SDavid Ostrovsky    testonly = 1,
1680f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
169af547cf0SDavid Pursehouse    exports = ["@slf4j-simple//jar"],
1700f6ddb37SDavid Ostrovsky)
1710f6ddb37SDavid Ostrovsky
1720f6ddb37SDavid Ostrovskyjava_library(
1730f6ddb37SDavid Ostrovsky    name = "xz",
1740f6ddb37SDavid Ostrovsky    testonly = 1,
1750f6ddb37SDavid Ostrovsky    visibility = ["//visibility:public"],
176af547cf0SDavid Pursehouse    exports = ["@tukaani-xz//jar"],
1770f6ddb37SDavid Ostrovsky)
178