xref: /JGit/WORKSPACE (revision 3b5a4416aaf69f9b5184e332c54ad2997c0b2fe9)
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
2366169ca7SDavid Pursehouseload_bazlets(commit = "09a035e98077dce549d5f6a7472d06c4b8f792d2")
24dd5e500aSDavid Pursehouse
25dd5e500aSDavid Pursehouseload(
26dd5e500aSDavid Pursehouse    "@com_googlesource_gerrit_bazlets//tools:maven_jar.bzl",
27dd5e500aSDavid Pursehouse    "maven_jar",
28e92a0c3aSDavid Ostrovsky)
29e92a0c3aSDavid Ostrovsky
30e92a0c3aSDavid Ostrovskymaven_jar(
31db627c41SThomas Wolf    name = "eddsa",
32db627c41SThomas Wolf    artifact = "net.i2p.crypto:eddsa:0.3.0",
33db627c41SThomas Wolf    sha1 = "1901c8d4d8bffb7d79027686cfb91e704217c3e1",
34db627c41SThomas Wolf)
35db627c41SThomas Wolf
36db627c41SThomas Wolfmaven_jar(
37dd5e500aSDavid Pursehouse    name = "jsch",
381faaccfcSThomas Wolf    artifact = "com.jcraft:jsch:0.1.55",
391faaccfcSThomas Wolf    sha1 = "bbd40e5aa7aa3cfad5db34965456cee738a42a50",
40e92a0c3aSDavid Ostrovsky)
41e92a0c3aSDavid Ostrovsky
42e92a0c3aSDavid Ostrovskymaven_jar(
43cdc88247SMatthias Sohn    name = "jzlib",
44cdc88247SMatthias Sohn    artifact = "com.jcraft:jzlib:1.1.1",
45cdc88247SMatthias Sohn    sha1 = "a1551373315ffc2f96130a0e5704f74e151777ba",
46cdc88247SMatthias Sohn)
47cdc88247SMatthias Sohn
48cdc88247SMatthias Sohnmaven_jar(
49dd5e500aSDavid Pursehouse    name = "javaewah",
50dd5e500aSDavid Pursehouse    artifact = "com.googlecode.javaewah:JavaEWAH:1.1.6",
51dd5e500aSDavid Pursehouse    sha1 = "94ad16d728b374d65bd897625f3fbb3da223a2b6",
52e92a0c3aSDavid Ostrovsky)
53e92a0c3aSDavid Ostrovsky
54e92a0c3aSDavid Ostrovskymaven_jar(
55dd5e500aSDavid Pursehouse    name = "httpclient",
567f4c03c1SMatthias Sohn    artifact = "org.apache.httpcomponents:httpclient:4.5.6",
577f4c03c1SMatthias Sohn    sha1 = "1afe5621985efe90a92d0fbc9be86271efbe796f",
58e92a0c3aSDavid Ostrovsky)
59e92a0c3aSDavid Ostrovsky
60e92a0c3aSDavid Ostrovskymaven_jar(
61dd5e500aSDavid Pursehouse    name = "httpcore",
627f4c03c1SMatthias Sohn    artifact = "org.apache.httpcomponents:httpcore:4.4.10",
637f4c03c1SMatthias Sohn    sha1 = "acc54d9b28bdffe4bbde89ed2e4a1e86b5285e2b",
64e92a0c3aSDavid Ostrovsky)
65e92a0c3aSDavid Ostrovsky
66e92a0c3aSDavid Ostrovskymaven_jar(
6786cee68eSThomas Wolf    name = "sshd-osgi",
6886cee68eSThomas Wolf    artifact = "org.apache.sshd:sshd-osgi:2.2.0",
6986cee68eSThomas Wolf    sha1 = "a45d48cb53678e699816e8e054e55fa33f5a4558",
7008b0a863SThomas Wolf)
7108b0a863SThomas Wolf
7208b0a863SThomas Wolfmaven_jar(
7308b0a863SThomas Wolf    name = "sshd-sftp",
7486cee68eSThomas Wolf    artifact = "org.apache.sshd:sshd-sftp:2.2.0",
7586cee68eSThomas Wolf    sha1 = "3d011e00adf38e49bb8711a9dd762fe908a2170c",
7608b0a863SThomas Wolf)
7708b0a863SThomas Wolf
7808b0a863SThomas Wolfmaven_jar(
7919222ce7SDavid Pursehouse    name = "commons-codec",
806dd25814SMatthias Sohn    artifact = "commons-codec:commons-codec:1.10",
816dd25814SMatthias Sohn    sha1 = "4b95f4897fa13f2cd904aee711aeafc0c5295cd8",
820f6ddb37SDavid Ostrovsky)
830f6ddb37SDavid Ostrovsky
840f6ddb37SDavid Ostrovskymaven_jar(
8519222ce7SDavid Pursehouse    name = "commons-logging",
866dd25814SMatthias Sohn    artifact = "commons-logging:commons-logging:1.2",
876dd25814SMatthias Sohn    sha1 = "4bfc12adfe4842bf07b657f0369c4cb522955686",
88e92a0c3aSDavid Ostrovsky)
89e92a0c3aSDavid Ostrovsky
90e92a0c3aSDavid Ostrovskymaven_jar(
9119222ce7SDavid Pursehouse    name = "log-api",
92dd5e500aSDavid Pursehouse    artifact = "org.slf4j:slf4j-api:1.7.2",
93dd5e500aSDavid Pursehouse    sha1 = "0081d61b7f33ebeab314e07de0cc596f8e858d97",
94e92a0c3aSDavid Ostrovsky)
95e92a0c3aSDavid Ostrovsky
96e92a0c3aSDavid Ostrovskymaven_jar(
9719222ce7SDavid Pursehouse    name = "slf4j-simple",
98dd5e500aSDavid Pursehouse    artifact = "org.slf4j:slf4j-simple:1.7.2",
99dd5e500aSDavid Pursehouse    sha1 = "760055906d7353ba4f7ce1b8908bc6b2e91f39fa",
100e92a0c3aSDavid Ostrovsky)
101e92a0c3aSDavid Ostrovsky
102e92a0c3aSDavid Ostrovskymaven_jar(
103*3b5a4416SLuca Milanesio    name = "servlet-api",
104dd5e500aSDavid Pursehouse    artifact = "javax.servlet:javax.servlet-api:3.1.0",
105dd5e500aSDavid Pursehouse    sha1 = "3cd63d075497751784b2fa84be59432f4905bf7c",
106e92a0c3aSDavid Ostrovsky)
107e92a0c3aSDavid Ostrovsky
108e92a0c3aSDavid Ostrovskymaven_jar(
10919222ce7SDavid Pursehouse    name = "commons-compress",
110ae805bd7SMatthias Sohn    artifact = "org.apache.commons:commons-compress:1.18",
111ae805bd7SMatthias Sohn    sha1 = "1191f9f2bc0c47a8cce69193feb1ff0a8bcb37d5",
112e92a0c3aSDavid Ostrovsky)
113e92a0c3aSDavid Ostrovsky
114e92a0c3aSDavid Ostrovskymaven_jar(
11519222ce7SDavid Pursehouse    name = "tukaani-xz",
1160aa31b11SMatthias Sohn    artifact = "org.tukaani:xz:1.8",
1170aa31b11SMatthias Sohn    sha1 = "c4f7d054303948eb6a4066194253886c8af07128",
118e92a0c3aSDavid Ostrovsky)
119e92a0c3aSDavid Ostrovsky
120e92a0c3aSDavid Ostrovskymaven_jar(
121dd5e500aSDavid Pursehouse    name = "args4j",
1224e913fceSDavid Pursehouse    artifact = "args4j:args4j:2.33",
1234e913fceSDavid Pursehouse    sha1 = "bd87a75374a6d6523de82fef51fc3cfe9baf9fc9",
124e92a0c3aSDavid Ostrovsky)
125e92a0c3aSDavid Ostrovsky
126e92a0c3aSDavid Ostrovskymaven_jar(
127dd5e500aSDavid Pursehouse    name = "junit",
1286dd25814SMatthias Sohn    artifact = "junit:junit:4.12",
1296dd25814SMatthias Sohn    sha1 = "2973d150c0dc1fefe998f834810d68f278ea58ec",
130e92a0c3aSDavid Ostrovsky)
131e92a0c3aSDavid Ostrovsky
132e92a0c3aSDavid Ostrovskymaven_jar(
13319222ce7SDavid Pursehouse    name = "hamcrest-library",
134dd5e500aSDavid Pursehouse    artifact = "org.hamcrest:hamcrest-library:1.3",
135dd5e500aSDavid Pursehouse    sha1 = "4785a3c21320980282f9f33d0d1264a69040538f",
136e92a0c3aSDavid Ostrovsky)
137e92a0c3aSDavid Ostrovsky
138e92a0c3aSDavid Ostrovskymaven_jar(
13919222ce7SDavid Pursehouse    name = "hamcrest-core",
140dd5e500aSDavid Pursehouse    artifact = "org.hamcrest:hamcrest-core:1.3",
141dd5e500aSDavid Pursehouse    sha1 = "42a25dc3219429f0e5d060061f71acb49bf010a0",
142e92a0c3aSDavid Ostrovsky)
143e92a0c3aSDavid Ostrovsky
144e92a0c3aSDavid Ostrovskymaven_jar(
1452532fa74SMatthias Sohn    name = "mockito",
1464d46a68aSMatthias Sohn    artifact = "org.mockito:mockito-core:2.23.0",
1474d46a68aSMatthias Sohn    sha1 = "497ddb32fd5d01f9dbe99a2ec790aeb931dff1b1",
1482532fa74SMatthias Sohn)
1492532fa74SMatthias Sohn
1500eea7368SMatthias SohnBYTE_BUDDY_VERSION = "1.9.0"
1512532fa74SMatthias Sohn
1522532fa74SMatthias Sohnmaven_jar(
1534d46a68aSMatthias Sohn    name = "bytebuddy",
1542532fa74SMatthias Sohn    artifact = "net.bytebuddy:byte-buddy:" + BYTE_BUDDY_VERSION,
1554d46a68aSMatthias Sohn    sha1 = "8cb0d5baae526c9df46ae17693bbba302640538b",
1562532fa74SMatthias Sohn)
1572532fa74SMatthias Sohn
1582532fa74SMatthias Sohnmaven_jar(
1594d46a68aSMatthias Sohn    name = "bytebuddy-agent",
1602532fa74SMatthias Sohn    artifact = "net.bytebuddy:byte-buddy-agent:" + BYTE_BUDDY_VERSION,
1614d46a68aSMatthias Sohn    sha1 = "37b5703b4a6290be3fffc63ae9c6bcaaee0ff856",
1622532fa74SMatthias Sohn)
1632532fa74SMatthias Sohn
1642532fa74SMatthias Sohnmaven_jar(
1652532fa74SMatthias Sohn    name = "objenesis",
1662532fa74SMatthias Sohn    artifact = "org.objenesis:objenesis:2.6",
1672532fa74SMatthias Sohn    sha1 = "639033469776fd37c08358c6b92a4761feb2af4b",
1682532fa74SMatthias Sohn)
1692532fa74SMatthias Sohn
1702532fa74SMatthias Sohnmaven_jar(
171dd5e500aSDavid Pursehouse    name = "gson",
172f3bb0e26SDavid Pursehouse    artifact = "com.google.code.gson:gson:2.8.2",
173f3bb0e26SDavid Pursehouse    sha1 = "3edcfe49d2c6053a70a2a47e4e1c2f94998a49cf",
174e92a0c3aSDavid Ostrovsky)
1750f6ddb37SDavid Ostrovsky
176cb208fb3SMatthias SohnJETTY_VER = "9.4.20.v20190813"
1770f6ddb37SDavid Ostrovsky
1780f6ddb37SDavid Ostrovskymaven_jar(
17919222ce7SDavid Pursehouse    name = "jetty-servlet",
1800f6ddb37SDavid Ostrovsky    artifact = "org.eclipse.jetty:jetty-servlet:" + JETTY_VER,
181cb208fb3SMatthias Sohn    sha1 = "d5d6610321bd173aead473e994f170989d633b25",
182cb208fb3SMatthias Sohn    src_sha1 = "09aa4fce2579d0905e3bde0b3bc923a032394805",
1830f6ddb37SDavid Ostrovsky)
1840f6ddb37SDavid Ostrovsky
1850f6ddb37SDavid Ostrovskymaven_jar(
18619222ce7SDavid Pursehouse    name = "jetty-security",
1870f6ddb37SDavid Ostrovsky    artifact = "org.eclipse.jetty:jetty-security:" + JETTY_VER,
188cb208fb3SMatthias Sohn    sha1 = "300c2e6dd62291c512bdaf3ecfefc1e305e26088",
189cb208fb3SMatthias Sohn    src_sha1 = "ec03ce3b6a8c0c3dd2bd8b32bc51419caa10ad62",
1900f6ddb37SDavid Ostrovsky)
1910f6ddb37SDavid Ostrovsky
1920f6ddb37SDavid Ostrovskymaven_jar(
19319222ce7SDavid Pursehouse    name = "jetty-server",
1940f6ddb37SDavid Ostrovsky    artifact = "org.eclipse.jetty:jetty-server:" + JETTY_VER,
195cb208fb3SMatthias Sohn    sha1 = "d4ee11134bca83db85919a1710fce022c67df3b7",
196cb208fb3SMatthias Sohn    src_sha1 = "0db81f86709a8184c793acd309c27dccdb5d439c",
1970f6ddb37SDavid Ostrovsky)
1980f6ddb37SDavid Ostrovsky
1990f6ddb37SDavid Ostrovskymaven_jar(
20019222ce7SDavid Pursehouse    name = "jetty-http",
2010f6ddb37SDavid Ostrovsky    artifact = "org.eclipse.jetty:jetty-http:" + JETTY_VER,
202cb208fb3SMatthias Sohn    sha1 = "edda2fd904a881114aba79e2f881c6f4004e8148",
203cb208fb3SMatthias Sohn    src_sha1 = "3e187c60d578c529f4baa3bbfc727d4b7ca7b93c",
2040f6ddb37SDavid Ostrovsky)
2050f6ddb37SDavid Ostrovsky
2060f6ddb37SDavid Ostrovskymaven_jar(
20719222ce7SDavid Pursehouse    name = "jetty-io",
2080f6ddb37SDavid Ostrovsky    artifact = "org.eclipse.jetty:jetty-io:" + JETTY_VER,
209cb208fb3SMatthias Sohn    sha1 = "b246c5e350d0aa1b310c07ec362755c34a1cc8cb",
210cb208fb3SMatthias Sohn    src_sha1 = "d12619b4df0d202847096a8429b0f96f123c7c77",
2110f6ddb37SDavid Ostrovsky)
2120f6ddb37SDavid Ostrovsky
2130f6ddb37SDavid Ostrovskymaven_jar(
21419222ce7SDavid Pursehouse    name = "jetty-util",
2150f6ddb37SDavid Ostrovsky    artifact = "org.eclipse.jetty:jetty-util:" + JETTY_VER,
216cb208fb3SMatthias Sohn    sha1 = "8ee753d673a124ba2880361871ab13f6863b2d40",
217cb208fb3SMatthias Sohn    src_sha1 = "2827925d01d95f42d02adf177d2474fbc8a3d5e0",
2180f6ddb37SDavid Ostrovsky)
219137e91a4SMedha Bhargav Prabhala
220f4443ef3SBrandon WeeksBOUNCYCASTLE_VER = "1.61"
221137e91a4SMedha Bhargav Prabhala
222137e91a4SMedha Bhargav Prabhalamaven_jar(
2235e4be72bSDavid Ostrovsky    name = "bcpg",
224137e91a4SMedha Bhargav Prabhala    artifact = "org.bouncycastle:bcpg-jdk15on:" + BOUNCYCASTLE_VER,
225f4443ef3SBrandon Weeks    sha1 = "422656435514ab8a28752b117d5d2646660a0ace",
226f4443ef3SBrandon Weeks    src_sha1 = "836da34e11114cbce8fa99f54175f8f3278d1cce",
227137e91a4SMedha Bhargav Prabhala)
228137e91a4SMedha Bhargav Prabhala
229137e91a4SMedha Bhargav Prabhalamaven_jar(
2305e4be72bSDavid Ostrovsky    name = "bcprov",
231137e91a4SMedha Bhargav Prabhala    artifact = "org.bouncycastle:bcprov-jdk15on:" + BOUNCYCASTLE_VER,
232f4443ef3SBrandon Weeks    sha1 = "00df4b474e71be02c1349c3292d98886f888d1f7",
233f4443ef3SBrandon Weeks    src_sha1 = "3bf88046a16098ea6cc41576dd50d512854d39e1",
234137e91a4SMedha Bhargav Prabhala)
235137e91a4SMedha Bhargav Prabhala
236137e91a4SMedha Bhargav Prabhalamaven_jar(
2375e4be72bSDavid Ostrovsky    name = "bcpkix",
238137e91a4SMedha Bhargav Prabhala    artifact = "org.bouncycastle:bcpkix-jdk15on:" + BOUNCYCASTLE_VER,
239f4443ef3SBrandon Weeks    sha1 = "89bb3aa5b98b48e584eee2a7401b7682a46779b4",
240f4443ef3SBrandon Weeks    src_sha1 = "a0498d09200a18737eccc05aa81bbd05c1be0f8c",
241137e91a4SMedha Bhargav Prabhala)
242