xref: /JGit/WORKSPACE (revision 77848d635b76d8294697ffaf11acf51256df2a5b)
1e92a0c3aSDavid Ostrovskyworkspace(name = "jgit")
2e92a0c3aSDavid Ostrovsky
3bcc327dfSDavid Pursehouseload("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
4bcc327dfSDavid Pursehouse
5bcc327dfSDavid Pursehousehttp_archive(
6bcc327dfSDavid Pursehouse    name = "bazel_skylib",
7df616520SDavid Ostrovsky    sha256 = "2ea8a5ed2b448baf4a6855d3ce049c4c452a6470b1efd1504fdb7c1c134d220a",
8df616520SDavid Ostrovsky    strip_prefix = "bazel-skylib-0.8.0",
9df616520SDavid Ostrovsky    urls = ["https://github.com/bazelbuild/bazel-skylib/archive/0.8.0.tar.gz"],
10bcc327dfSDavid Pursehouse)
11bcc327dfSDavid Pursehouse
125caa9515SDavid Ostrovsky# Check Bazel version when invoked by Bazel directly
135caa9515SDavid Ostrovskyload("//tools:bazelisk_version.bzl", "bazelisk_version")
14bcc327dfSDavid Pursehouse
155caa9515SDavid Ostrovskybazelisk_version(name = "bazelisk_version")
165caa9515SDavid Ostrovsky
175caa9515SDavid Ostrovskyload("@bazelisk_version//:check.bzl", "check_bazel_version")
185caa9515SDavid Ostrovsky
195caa9515SDavid Ostrovskycheck_bazel_version()
20bcc327dfSDavid Pursehouse
21e92a0c3aSDavid Ostrovskyload("//tools:bazlets.bzl", "load_bazlets")
22dd5e500aSDavid Pursehouse
2334c4ffffSDavid Pursehouseload_bazlets(commit = "f30a992da9fc855dce819875afb59f9dd6f860cd")
24dd5e500aSDavid Pursehouse
25dd5e500aSDavid Pursehouseload(
26dd5e500aSDavid Pursehouse    "@com_googlesource_gerrit_bazlets//tools:maven_jar.bzl",
27dd5e500aSDavid Pursehouse    "maven_jar",
28e92a0c3aSDavid Ostrovsky)
29e92a0c3aSDavid Ostrovsky
30452c38cdSMatthias SohnJMH_VERS = "1.21"
31452c38cdSMatthias Sohn
32452c38cdSMatthias Sohnmaven_jar(
33452c38cdSMatthias Sohn    name = "jmh-core",
34452c38cdSMatthias Sohn    artifact = "org.openjdk.jmh:jmh-core:" + JMH_VERS,
35452c38cdSMatthias Sohn    attach_source = False,
36452c38cdSMatthias Sohn    sha1 = "442447101f63074c61063858033fbfde8a076873",
37452c38cdSMatthias Sohn)
38452c38cdSMatthias Sohn
39452c38cdSMatthias Sohnmaven_jar(
40452c38cdSMatthias Sohn    name = "jmh-annotations",
41452c38cdSMatthias Sohn    artifact = "org.openjdk.jmh:jmh-generator-annprocess:" + JMH_VERS,
42452c38cdSMatthias Sohn    attach_source = False,
43452c38cdSMatthias Sohn    sha1 = "7aac374614a8a76cad16b91f1a4419d31a7dcda3",
44452c38cdSMatthias Sohn)
45452c38cdSMatthias Sohn
46452c38cdSMatthias Sohnmaven_jar(
47452c38cdSMatthias Sohn    name = "jopt",
48452c38cdSMatthias Sohn    artifact = "net.sf.jopt-simple:jopt-simple:5.0.4",
49452c38cdSMatthias Sohn    attach_source = False,
50452c38cdSMatthias Sohn    sha1 = "4fdac2fbe92dfad86aa6e9301736f6b4342a3f5c",
51452c38cdSMatthias Sohn)
52452c38cdSMatthias Sohn
53452c38cdSMatthias Sohnmaven_jar(
54452c38cdSMatthias Sohn    name = "math3",
55452c38cdSMatthias Sohn    artifact = "org.apache.commons:commons-math3:3.6.1",
56452c38cdSMatthias Sohn    attach_source = False,
57452c38cdSMatthias Sohn    sha1 = "e4ba98f1d4b3c80ec46392f25e094a6a2e58fcbf",
58452c38cdSMatthias Sohn)
59452c38cdSMatthias Sohn
60e92a0c3aSDavid Ostrovskymaven_jar(
61db627c41SThomas Wolf    name = "eddsa",
62db627c41SThomas Wolf    artifact = "net.i2p.crypto:eddsa:0.3.0",
63db627c41SThomas Wolf    sha1 = "1901c8d4d8bffb7d79027686cfb91e704217c3e1",
64db627c41SThomas Wolf)
65db627c41SThomas Wolf
66db627c41SThomas Wolfmaven_jar(
67dd5e500aSDavid Pursehouse    name = "jsch",
681faaccfcSThomas Wolf    artifact = "com.jcraft:jsch:0.1.55",
691faaccfcSThomas Wolf    sha1 = "bbd40e5aa7aa3cfad5db34965456cee738a42a50",
70e92a0c3aSDavid Ostrovsky)
71e92a0c3aSDavid Ostrovsky
72e92a0c3aSDavid Ostrovskymaven_jar(
73cdc88247SMatthias Sohn    name = "jzlib",
74cdc88247SMatthias Sohn    artifact = "com.jcraft:jzlib:1.1.1",
75cdc88247SMatthias Sohn    sha1 = "a1551373315ffc2f96130a0e5704f74e151777ba",
76cdc88247SMatthias Sohn)
77cdc88247SMatthias Sohn
78cdc88247SMatthias Sohnmaven_jar(
79dd5e500aSDavid Pursehouse    name = "javaewah",
80be49375fSMatthias Sohn    artifact = "com.googlecode.javaewah:JavaEWAH:1.1.7",
81be49375fSMatthias Sohn    sha1 = "570dde3cd706ae10c62fe19b150928cfdb415e87",
82e92a0c3aSDavid Ostrovsky)
83e92a0c3aSDavid Ostrovsky
84e92a0c3aSDavid Ostrovskymaven_jar(
85dd5e500aSDavid Pursehouse    name = "httpclient",
86be49375fSMatthias Sohn    artifact = "org.apache.httpcomponents:httpclient:4.5.10",
87be49375fSMatthias Sohn    sha1 = "7ca2e4276f4ef95e4db725a8cd4a1d1e7585b9e5",
88e92a0c3aSDavid Ostrovsky)
89e92a0c3aSDavid Ostrovsky
90e92a0c3aSDavid Ostrovskymaven_jar(
91dd5e500aSDavid Pursehouse    name = "httpcore",
92be49375fSMatthias Sohn    artifact = "org.apache.httpcomponents:httpcore:4.4.12",
93be49375fSMatthias Sohn    sha1 = "21ebaf6d532bc350ba95bd81938fa5f0e511c132",
94e92a0c3aSDavid Ostrovsky)
95e92a0c3aSDavid Ostrovsky
96e92a0c3aSDavid Ostrovskymaven_jar(
9786cee68eSThomas Wolf    name = "sshd-osgi",
98fd3778b9SThomas Wolf    artifact = "org.apache.sshd:sshd-osgi:2.4.0",
99fd3778b9SThomas Wolf    sha1 = "fc4551c1eeda35e4671b263297d37d2bca81c4d4",
10008b0a863SThomas Wolf)
10108b0a863SThomas Wolf
10208b0a863SThomas Wolfmaven_jar(
10308b0a863SThomas Wolf    name = "sshd-sftp",
104fd3778b9SThomas Wolf    artifact = "org.apache.sshd:sshd-sftp:2.4.0",
105fd3778b9SThomas Wolf    sha1 = "92e1b7d1e19c715efb4a8871d34145da8f87cdb2",
10608b0a863SThomas Wolf)
10708b0a863SThomas Wolf
10808b0a863SThomas Wolfmaven_jar(
10919222ce7SDavid Pursehouse    name = "commons-codec",
110be49375fSMatthias Sohn    artifact = "commons-codec:commons-codec:1.13",
111be49375fSMatthias Sohn    sha1 = "3f18e1aa31031d89db6f01ba05d501258ce69d2c",
1120f6ddb37SDavid Ostrovsky)
1130f6ddb37SDavid Ostrovsky
1140f6ddb37SDavid Ostrovskymaven_jar(
11519222ce7SDavid Pursehouse    name = "commons-logging",
1166dd25814SMatthias Sohn    artifact = "commons-logging:commons-logging:1.2",
1176dd25814SMatthias Sohn    sha1 = "4bfc12adfe4842bf07b657f0369c4cb522955686",
118e92a0c3aSDavid Ostrovsky)
119e92a0c3aSDavid Ostrovsky
120e92a0c3aSDavid Ostrovskymaven_jar(
12119222ce7SDavid Pursehouse    name = "log-api",
122dd5e500aSDavid Pursehouse    artifact = "org.slf4j:slf4j-api:1.7.2",
123dd5e500aSDavid Pursehouse    sha1 = "0081d61b7f33ebeab314e07de0cc596f8e858d97",
124e92a0c3aSDavid Ostrovsky)
125e92a0c3aSDavid Ostrovsky
126e92a0c3aSDavid Ostrovskymaven_jar(
12719222ce7SDavid Pursehouse    name = "slf4j-simple",
128dd5e500aSDavid Pursehouse    artifact = "org.slf4j:slf4j-simple:1.7.2",
129dd5e500aSDavid Pursehouse    sha1 = "760055906d7353ba4f7ce1b8908bc6b2e91f39fa",
130e92a0c3aSDavid Ostrovsky)
131e92a0c3aSDavid Ostrovsky
132e92a0c3aSDavid Ostrovskymaven_jar(
1333b5a4416SLuca Milanesio    name = "servlet-api",
134dd5e500aSDavid Pursehouse    artifact = "javax.servlet:javax.servlet-api:3.1.0",
135dd5e500aSDavid Pursehouse    sha1 = "3cd63d075497751784b2fa84be59432f4905bf7c",
136e92a0c3aSDavid Ostrovsky)
137e92a0c3aSDavid Ostrovsky
138e92a0c3aSDavid Ostrovskymaven_jar(
13919222ce7SDavid Pursehouse    name = "commons-compress",
140be49375fSMatthias Sohn    artifact = "org.apache.commons:commons-compress:1.19",
141be49375fSMatthias Sohn    sha1 = "7e65777fb451ddab6a9c054beb879e521b7eab78",
142e92a0c3aSDavid Ostrovsky)
143e92a0c3aSDavid Ostrovsky
144e92a0c3aSDavid Ostrovskymaven_jar(
14519222ce7SDavid Pursehouse    name = "tukaani-xz",
1460aa31b11SMatthias Sohn    artifact = "org.tukaani:xz:1.8",
1470aa31b11SMatthias Sohn    sha1 = "c4f7d054303948eb6a4066194253886c8af07128",
148e92a0c3aSDavid Ostrovsky)
149e92a0c3aSDavid Ostrovsky
150e92a0c3aSDavid Ostrovskymaven_jar(
151dd5e500aSDavid Pursehouse    name = "args4j",
1524e913fceSDavid Pursehouse    artifact = "args4j:args4j:2.33",
1534e913fceSDavid Pursehouse    sha1 = "bd87a75374a6d6523de82fef51fc3cfe9baf9fc9",
154e92a0c3aSDavid Ostrovsky)
155e92a0c3aSDavid Ostrovsky
156e92a0c3aSDavid Ostrovskymaven_jar(
157dd5e500aSDavid Pursehouse    name = "junit",
158c02a57f4SDavid Pursehouse    artifact = "junit:junit:4.13",
159c02a57f4SDavid Pursehouse    sha1 = "e49ccba652b735c93bd6e6f59760d8254cf597dd",
160e92a0c3aSDavid Ostrovsky)
161e92a0c3aSDavid Ostrovsky
162e92a0c3aSDavid Ostrovskymaven_jar(
16319222ce7SDavid Pursehouse    name = "hamcrest-library",
164dd5e500aSDavid Pursehouse    artifact = "org.hamcrest:hamcrest-library:1.3",
165dd5e500aSDavid Pursehouse    sha1 = "4785a3c21320980282f9f33d0d1264a69040538f",
166e92a0c3aSDavid Ostrovsky)
167e92a0c3aSDavid Ostrovsky
168e92a0c3aSDavid Ostrovskymaven_jar(
16919222ce7SDavid Pursehouse    name = "hamcrest-core",
170dd5e500aSDavid Pursehouse    artifact = "org.hamcrest:hamcrest-core:1.3",
171dd5e500aSDavid Pursehouse    sha1 = "42a25dc3219429f0e5d060061f71acb49bf010a0",
172e92a0c3aSDavid Ostrovsky)
173e92a0c3aSDavid Ostrovsky
174e92a0c3aSDavid Ostrovskymaven_jar(
1752532fa74SMatthias Sohn    name = "mockito",
1764d46a68aSMatthias Sohn    artifact = "org.mockito:mockito-core:2.23.0",
1774d46a68aSMatthias Sohn    sha1 = "497ddb32fd5d01f9dbe99a2ec790aeb931dff1b1",
1782532fa74SMatthias Sohn)
1792532fa74SMatthias Sohn
1808ada9048SMatthias Sohnmaven_jar(
1818ada9048SMatthias Sohn    name = "assertj-core",
1828ada9048SMatthias Sohn    artifact = "org.assertj:assertj-core:3.14.0",
1838ada9048SMatthias Sohn    sha1 = "3b7b0fcac821f3d167764e9926573cd64f78f9e9",
1848ada9048SMatthias Sohn)
1858ada9048SMatthias Sohn
1860eea7368SMatthias SohnBYTE_BUDDY_VERSION = "1.9.0"
1872532fa74SMatthias Sohn
1882532fa74SMatthias Sohnmaven_jar(
1894d46a68aSMatthias Sohn    name = "bytebuddy",
1902532fa74SMatthias Sohn    artifact = "net.bytebuddy:byte-buddy:" + BYTE_BUDDY_VERSION,
1914d46a68aSMatthias Sohn    sha1 = "8cb0d5baae526c9df46ae17693bbba302640538b",
1922532fa74SMatthias Sohn)
1932532fa74SMatthias Sohn
1942532fa74SMatthias Sohnmaven_jar(
1954d46a68aSMatthias Sohn    name = "bytebuddy-agent",
1962532fa74SMatthias Sohn    artifact = "net.bytebuddy:byte-buddy-agent:" + BYTE_BUDDY_VERSION,
1974d46a68aSMatthias Sohn    sha1 = "37b5703b4a6290be3fffc63ae9c6bcaaee0ff856",
1982532fa74SMatthias Sohn)
1992532fa74SMatthias Sohn
2002532fa74SMatthias Sohnmaven_jar(
2012532fa74SMatthias Sohn    name = "objenesis",
2022532fa74SMatthias Sohn    artifact = "org.objenesis:objenesis:2.6",
2032532fa74SMatthias Sohn    sha1 = "639033469776fd37c08358c6b92a4761feb2af4b",
2042532fa74SMatthias Sohn)
2052532fa74SMatthias Sohn
2062532fa74SMatthias Sohnmaven_jar(
207dd5e500aSDavid Pursehouse    name = "gson",
208f3bb0e26SDavid Pursehouse    artifact = "com.google.code.gson:gson:2.8.2",
209f3bb0e26SDavid Pursehouse    sha1 = "3edcfe49d2c6053a70a2a47e4e1c2f94998a49cf",
210e92a0c3aSDavid Ostrovsky)
2110f6ddb37SDavid Ostrovsky
212efb15a56SMatthias SohnJETTY_VER = "9.4.28.v20200408"
2130f6ddb37SDavid Ostrovsky
2140f6ddb37SDavid Ostrovskymaven_jar(
21519222ce7SDavid Pursehouse    name = "jetty-servlet",
2160f6ddb37SDavid Ostrovsky    artifact = "org.eclipse.jetty:jetty-servlet:" + JETTY_VER,
217efb15a56SMatthias Sohn    sha1 = "7df27a6d73e3094ad94ea4f32e3e6597cecbdf38",
218efb15a56SMatthias Sohn    src_sha1 = "49da8455dd5760b7c5961df3b1e7d1490ff9723e",
2190f6ddb37SDavid Ostrovsky)
2200f6ddb37SDavid Ostrovsky
2210f6ddb37SDavid Ostrovskymaven_jar(
22219222ce7SDavid Pursehouse    name = "jetty-security",
2230f6ddb37SDavid Ostrovsky    artifact = "org.eclipse.jetty:jetty-security:" + JETTY_VER,
224efb15a56SMatthias Sohn    sha1 = "d5fe6851f14d1375e4b4ab1818475bfd929cf517",
225efb15a56SMatthias Sohn    src_sha1 = "204f19ac7e4df9f6f68df1910154d7667ecd78e8",
2260f6ddb37SDavid Ostrovsky)
2270f6ddb37SDavid Ostrovsky
2280f6ddb37SDavid Ostrovskymaven_jar(
22919222ce7SDavid Pursehouse    name = "jetty-server",
2300f6ddb37SDavid Ostrovsky    artifact = "org.eclipse.jetty:jetty-server:" + JETTY_VER,
231efb15a56SMatthias Sohn    sha1 = "9c2cbd96426be38b1273ec87ae21e2696688a737",
232efb15a56SMatthias Sohn    src_sha1 = "83454098deb880ecc7168252578f712c06a5504b",
2330f6ddb37SDavid Ostrovsky)
2340f6ddb37SDavid Ostrovsky
2350f6ddb37SDavid Ostrovskymaven_jar(
23619222ce7SDavid Pursehouse    name = "jetty-http",
2370f6ddb37SDavid Ostrovsky    artifact = "org.eclipse.jetty:jetty-http:" + JETTY_VER,
238efb15a56SMatthias Sohn    sha1 = "dd56750ea7410c925f1fbae973c0a19cce5a0a68",
239efb15a56SMatthias Sohn    src_sha1 = "1ef8d10cb5ce5694f12650cbb49b31008c673182",
2400f6ddb37SDavid Ostrovsky)
2410f6ddb37SDavid Ostrovsky
2420f6ddb37SDavid Ostrovskymaven_jar(
24319222ce7SDavid Pursehouse    name = "jetty-io",
2440f6ddb37SDavid Ostrovsky    artifact = "org.eclipse.jetty:jetty-io:" + JETTY_VER,
245efb15a56SMatthias Sohn    sha1 = "adda6786588a922f834e9c33c7db5f1484310f44",
246efb15a56SMatthias Sohn    src_sha1 = "4e7756e00b97b439d404e6a682bb1cdeb36fc887",
2470f6ddb37SDavid Ostrovsky)
2480f6ddb37SDavid Ostrovsky
2490f6ddb37SDavid Ostrovskymaven_jar(
25019222ce7SDavid Pursehouse    name = "jetty-util",
2510f6ddb37SDavid Ostrovsky    artifact = "org.eclipse.jetty:jetty-util:" + JETTY_VER,
252efb15a56SMatthias Sohn    sha1 = "118d2a44721885a04238aee21a5055dc1ab3818a",
253efb15a56SMatthias Sohn    src_sha1 = "e2e6d7c90e4126645d2667014d02f0732c08c948",
2540f6ddb37SDavid Ostrovsky)
255137e91a4SMedha Bhargav Prabhala
256bcf48797SMatthias SohnBOUNCYCASTLE_VER = "1.65"
257137e91a4SMedha Bhargav Prabhala
258137e91a4SMedha Bhargav Prabhalamaven_jar(
2595e4be72bSDavid Ostrovsky    name = "bcpg",
260137e91a4SMedha Bhargav Prabhala    artifact = "org.bouncycastle:bcpg-jdk15on:" + BOUNCYCASTLE_VER,
261bcf48797SMatthias Sohn    sha1 = "f32fc02cc29c9fdcc35c0de4d16964f01777067c",
262b3f08af8SDavid Pursehouse    src_sha1 = "508476d5383c7d086b400f5e7c5a8cf4dc8ac4e2",
263137e91a4SMedha Bhargav Prabhala)
264137e91a4SMedha Bhargav Prabhala
265137e91a4SMedha Bhargav Prabhalamaven_jar(
2665e4be72bSDavid Ostrovsky    name = "bcprov",
267*77848d63SMatthias Sohn    artifact = "org.bouncycastle:bcprov-jdk15on:1.65.01",
268*77848d63SMatthias Sohn    sha1 = "0fbd478ea7b07acc3902b9585a37fd88393f8427",
269*77848d63SMatthias Sohn    src_sha1 = "8f54635075628c69b6c037e800dd0b03ffb8dd51",
270137e91a4SMedha Bhargav Prabhala)
271137e91a4SMedha Bhargav Prabhala
272137e91a4SMedha Bhargav Prabhalamaven_jar(
2735e4be72bSDavid Ostrovsky    name = "bcpkix",
274137e91a4SMedha Bhargav Prabhala    artifact = "org.bouncycastle:bcpkix-jdk15on:" + BOUNCYCASTLE_VER,
275bcf48797SMatthias Sohn    sha1 = "c9507d93e4b453320b57d9ac21bdd67d65a00bbc",
276bcf48797SMatthias Sohn    src_sha1 = "16c71e83af43927d20ccad19defcbb0babcbdb26",
277137e91a4SMedha Bhargav Prabhala)
278