xref: /JGit/WORKSPACE (revision 333c20aa48610a45a44dbdca694789ceffaecd76)
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(
1033b5a4416SLuca 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
176*333c20aaSMichael KepplerJETTY_VER = "9.4.22.v20191022"
1770f6ddb37SDavid Ostrovsky
1780f6ddb37SDavid Ostrovskymaven_jar(
17919222ce7SDavid Pursehouse    name = "jetty-servlet",
1800f6ddb37SDavid Ostrovsky    artifact = "org.eclipse.jetty:jetty-servlet:" + JETTY_VER,
181*333c20aaSMichael Keppler    sha1 = "62285df7713347586d55f3f93a96299d1b721714",
182*333c20aaSMichael Keppler    src_sha1 = "fe2d1f1dc7a82ced141df935a0db5b5cadd76f4a",
1830f6ddb37SDavid Ostrovsky)
1840f6ddb37SDavid Ostrovsky
1850f6ddb37SDavid Ostrovskymaven_jar(
18619222ce7SDavid Pursehouse    name = "jetty-security",
1870f6ddb37SDavid Ostrovsky    artifact = "org.eclipse.jetty:jetty-security:" + JETTY_VER,
188*333c20aaSMichael Keppler    sha1 = "f7b3b61f09b34a69fd6df4f267f3907813c9224c",
189*333c20aaSMichael Keppler    src_sha1 = "5a1b33c5dde638ce9dbc2e07f0cff862e5029195",
1900f6ddb37SDavid Ostrovsky)
1910f6ddb37SDavid Ostrovsky
1920f6ddb37SDavid Ostrovskymaven_jar(
19319222ce7SDavid Pursehouse    name = "jetty-server",
1940f6ddb37SDavid Ostrovsky    artifact = "org.eclipse.jetty:jetty-server:" + JETTY_VER,
195*333c20aaSMichael Keppler    sha1 = "f30b9b2cd6f63b073b63c2ac5e7e7f17b63b0908",
196*333c20aaSMichael Keppler    src_sha1 = "97fbdf8eade55f05d7e99c16fd90d394b248f717",
1970f6ddb37SDavid Ostrovsky)
1980f6ddb37SDavid Ostrovsky
1990f6ddb37SDavid Ostrovskymaven_jar(
20019222ce7SDavid Pursehouse    name = "jetty-http",
2010f6ddb37SDavid Ostrovsky    artifact = "org.eclipse.jetty:jetty-http:" + JETTY_VER,
202*333c20aaSMichael Keppler    sha1 = "f96f87fc73c2b586ff40689cbce6ae62d70f18fa",
203*333c20aaSMichael Keppler    src_sha1 = "0e51a30d0e3309acfc6ee548b90ff55165fbfa5c",
2040f6ddb37SDavid Ostrovsky)
2050f6ddb37SDavid Ostrovsky
2060f6ddb37SDavid Ostrovskymaven_jar(
20719222ce7SDavid Pursehouse    name = "jetty-io",
2080f6ddb37SDavid Ostrovsky    artifact = "org.eclipse.jetty:jetty-io:" + JETTY_VER,
209*333c20aaSMichael Keppler    sha1 = "0f08e62908f94d1238be386302236a42204d566a",
210*333c20aaSMichael Keppler    src_sha1 = "d31c00383f13c95404ef606f57513569868acd6b",
2110f6ddb37SDavid Ostrovsky)
2120f6ddb37SDavid Ostrovsky
2130f6ddb37SDavid Ostrovskymaven_jar(
21419222ce7SDavid Pursehouse    name = "jetty-util",
2150f6ddb37SDavid Ostrovsky    artifact = "org.eclipse.jetty:jetty-util:" + JETTY_VER,
216*333c20aaSMichael Keppler    sha1 = "ffe0bf81a2a4a534b79dd981f971c7346a563095",
217*333c20aaSMichael Keppler    src_sha1 = "42f8abc84a6c4c9d2441d2dfcc60591e3296dc26",
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