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 3096411d1aSDavid Ostrovskyhttp_archive( 3196411d1aSDavid Ostrovsky name = "openjdk15_linux_archive", 3296411d1aSDavid Ostrovsky build_file_content = """ 3396411d1aSDavid Ostrovskyjava_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public']) 3496411d1aSDavid Ostrovskyexports_files(["WORKSPACE"], visibility = ["//visibility:public"]) 3596411d1aSDavid Ostrovsky""", 3696411d1aSDavid Ostrovsky sha256 = "0a38f1138c15a4f243b75eb82f8ef40855afcc402e3c2a6de97ce8235011b1ad", 3796411d1aSDavid Ostrovsky strip_prefix = "zulu15.27.17-ca-jdk15.0.0-linux_x64", 3896411d1aSDavid Ostrovsky urls = [ 3996411d1aSDavid Ostrovsky "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu15.27.17-ca-jdk15.0.0-linux_x64.tar.gz", 4096411d1aSDavid Ostrovsky "https://cdn.azul.com/zulu/bin/zulu15.27.17-ca-jdk15.0.0-linux_x64.tar.gz", 4196411d1aSDavid Ostrovsky ], 4296411d1aSDavid Ostrovsky) 4396411d1aSDavid Ostrovsky 4496411d1aSDavid Ostrovskyhttp_archive( 4596411d1aSDavid Ostrovsky name = "openjdk15_darwin_archive", 4696411d1aSDavid Ostrovsky build_file_content = """ 4796411d1aSDavid Ostrovskyjava_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public']) 4896411d1aSDavid Ostrovskyexports_files(["WORKSPACE"], visibility = ["//visibility:public"]) 4996411d1aSDavid Ostrovsky""", 5096411d1aSDavid Ostrovsky sha256 = "f80b2e0512d9d8a92be24497334c974bfecc8c898fc215ce0e76594f00437482", 5196411d1aSDavid Ostrovsky strip_prefix = "zulu15.27.17-ca-jdk15.0.0-macosx_x64", 5296411d1aSDavid Ostrovsky urls = [ 5396411d1aSDavid Ostrovsky "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu15.27.17-ca-jdk15.0.0-macosx_x64.tar.gz", 5496411d1aSDavid Ostrovsky "https://cdn.azul.com/zulu/bin/zulu15.27.17-ca-jdk15.0.0-macosx_x64.tar.gz", 5596411d1aSDavid Ostrovsky ], 5696411d1aSDavid Ostrovsky) 5796411d1aSDavid Ostrovsky 58452c38cdSMatthias SohnJMH_VERS = "1.21" 59452c38cdSMatthias Sohn 60452c38cdSMatthias Sohnmaven_jar( 61452c38cdSMatthias Sohn name = "jmh-core", 62452c38cdSMatthias Sohn artifact = "org.openjdk.jmh:jmh-core:" + JMH_VERS, 63452c38cdSMatthias Sohn attach_source = False, 64452c38cdSMatthias Sohn sha1 = "442447101f63074c61063858033fbfde8a076873", 65452c38cdSMatthias Sohn) 66452c38cdSMatthias Sohn 67452c38cdSMatthias Sohnmaven_jar( 68452c38cdSMatthias Sohn name = "jmh-annotations", 69452c38cdSMatthias Sohn artifact = "org.openjdk.jmh:jmh-generator-annprocess:" + JMH_VERS, 70452c38cdSMatthias Sohn attach_source = False, 71452c38cdSMatthias Sohn sha1 = "7aac374614a8a76cad16b91f1a4419d31a7dcda3", 72452c38cdSMatthias Sohn) 73452c38cdSMatthias Sohn 74452c38cdSMatthias Sohnmaven_jar( 75452c38cdSMatthias Sohn name = "jopt", 76452c38cdSMatthias Sohn artifact = "net.sf.jopt-simple:jopt-simple:5.0.4", 77452c38cdSMatthias Sohn attach_source = False, 78452c38cdSMatthias Sohn sha1 = "4fdac2fbe92dfad86aa6e9301736f6b4342a3f5c", 79452c38cdSMatthias Sohn) 80452c38cdSMatthias Sohn 81452c38cdSMatthias Sohnmaven_jar( 82452c38cdSMatthias Sohn name = "math3", 83452c38cdSMatthias Sohn artifact = "org.apache.commons:commons-math3:3.6.1", 84452c38cdSMatthias Sohn attach_source = False, 85452c38cdSMatthias Sohn sha1 = "e4ba98f1d4b3c80ec46392f25e094a6a2e58fcbf", 86452c38cdSMatthias Sohn) 87452c38cdSMatthias Sohn 88e92a0c3aSDavid Ostrovskymaven_jar( 89db627c41SThomas Wolf name = "eddsa", 90db627c41SThomas Wolf artifact = "net.i2p.crypto:eddsa:0.3.0", 91db627c41SThomas Wolf sha1 = "1901c8d4d8bffb7d79027686cfb91e704217c3e1", 92db627c41SThomas Wolf) 93db627c41SThomas Wolf 94db627c41SThomas Wolfmaven_jar( 95dd5e500aSDavid Pursehouse name = "jsch", 961faaccfcSThomas Wolf artifact = "com.jcraft:jsch:0.1.55", 971faaccfcSThomas Wolf sha1 = "bbd40e5aa7aa3cfad5db34965456cee738a42a50", 98e92a0c3aSDavid Ostrovsky) 99e92a0c3aSDavid Ostrovsky 100e92a0c3aSDavid Ostrovskymaven_jar( 101cdc88247SMatthias Sohn name = "jzlib", 102cdc88247SMatthias Sohn artifact = "com.jcraft:jzlib:1.1.1", 103cdc88247SMatthias Sohn sha1 = "a1551373315ffc2f96130a0e5704f74e151777ba", 104cdc88247SMatthias Sohn) 105cdc88247SMatthias Sohn 106cdc88247SMatthias Sohnmaven_jar( 107dd5e500aSDavid Pursehouse name = "javaewah", 108be49375fSMatthias Sohn artifact = "com.googlecode.javaewah:JavaEWAH:1.1.7", 109be49375fSMatthias Sohn sha1 = "570dde3cd706ae10c62fe19b150928cfdb415e87", 110e92a0c3aSDavid Ostrovsky) 111e92a0c3aSDavid Ostrovsky 112e92a0c3aSDavid Ostrovskymaven_jar( 113dd5e500aSDavid Pursehouse name = "httpclient", 114be49375fSMatthias Sohn artifact = "org.apache.httpcomponents:httpclient:4.5.10", 115be49375fSMatthias Sohn sha1 = "7ca2e4276f4ef95e4db725a8cd4a1d1e7585b9e5", 116e92a0c3aSDavid Ostrovsky) 117e92a0c3aSDavid Ostrovsky 118e92a0c3aSDavid Ostrovskymaven_jar( 119dd5e500aSDavid Pursehouse name = "httpcore", 120be49375fSMatthias Sohn artifact = "org.apache.httpcomponents:httpcore:4.4.12", 121be49375fSMatthias Sohn sha1 = "21ebaf6d532bc350ba95bd81938fa5f0e511c132", 122e92a0c3aSDavid Ostrovsky) 123e92a0c3aSDavid Ostrovsky 124e92a0c3aSDavid Ostrovskymaven_jar( 12586cee68eSThomas Wolf name = "sshd-osgi", 126fd3778b9SThomas Wolf artifact = "org.apache.sshd:sshd-osgi:2.4.0", 127fd3778b9SThomas Wolf sha1 = "fc4551c1eeda35e4671b263297d37d2bca81c4d4", 12808b0a863SThomas Wolf) 12908b0a863SThomas Wolf 13008b0a863SThomas Wolfmaven_jar( 13108b0a863SThomas Wolf name = "sshd-sftp", 132fd3778b9SThomas Wolf artifact = "org.apache.sshd:sshd-sftp:2.4.0", 133fd3778b9SThomas Wolf sha1 = "92e1b7d1e19c715efb4a8871d34145da8f87cdb2", 13408b0a863SThomas Wolf) 13508b0a863SThomas Wolf 13608b0a863SThomas Wolfmaven_jar( 13719222ce7SDavid Pursehouse name = "commons-codec", 138812c3969SMatthias Sohn artifact = "commons-codec:commons-codec:1.14", 139812c3969SMatthias Sohn sha1 = "3cb1181b2141a7e752f5bdc998b7ef1849f726cf", 1400f6ddb37SDavid Ostrovsky) 1410f6ddb37SDavid Ostrovsky 1420f6ddb37SDavid Ostrovskymaven_jar( 14319222ce7SDavid Pursehouse name = "commons-logging", 1446dd25814SMatthias Sohn artifact = "commons-logging:commons-logging:1.2", 1456dd25814SMatthias Sohn sha1 = "4bfc12adfe4842bf07b657f0369c4cb522955686", 146e92a0c3aSDavid Ostrovsky) 147e92a0c3aSDavid Ostrovsky 148e92a0c3aSDavid Ostrovskymaven_jar( 14919222ce7SDavid Pursehouse name = "log-api", 150679977c9SMatthias Sohn artifact = "org.slf4j:slf4j-api:1.7.30", 151679977c9SMatthias Sohn sha1 = "b5a4b6d16ab13e34a88fae84c35cd5d68cac922c", 152e92a0c3aSDavid Ostrovsky) 153e92a0c3aSDavid Ostrovsky 154e92a0c3aSDavid Ostrovskymaven_jar( 15519222ce7SDavid Pursehouse name = "slf4j-simple", 156679977c9SMatthias Sohn artifact = "org.slf4j:slf4j-simple:1.7.30", 157679977c9SMatthias Sohn sha1 = "e606eac955f55ecf1d8edcccba04eb8ac98088dd", 158e92a0c3aSDavid Ostrovsky) 159e92a0c3aSDavid Ostrovsky 160e92a0c3aSDavid Ostrovskymaven_jar( 1613b5a4416SLuca Milanesio name = "servlet-api", 162dd5e500aSDavid Pursehouse artifact = "javax.servlet:javax.servlet-api:3.1.0", 163dd5e500aSDavid Pursehouse sha1 = "3cd63d075497751784b2fa84be59432f4905bf7c", 164e92a0c3aSDavid Ostrovsky) 165e92a0c3aSDavid Ostrovsky 166e92a0c3aSDavid Ostrovskymaven_jar( 16719222ce7SDavid Pursehouse name = "commons-compress", 168be49375fSMatthias Sohn artifact = "org.apache.commons:commons-compress:1.19", 169be49375fSMatthias Sohn sha1 = "7e65777fb451ddab6a9c054beb879e521b7eab78", 170e92a0c3aSDavid Ostrovsky) 171e92a0c3aSDavid Ostrovsky 172e92a0c3aSDavid Ostrovskymaven_jar( 17319222ce7SDavid Pursehouse name = "tukaani-xz", 1740aa31b11SMatthias Sohn artifact = "org.tukaani:xz:1.8", 1750aa31b11SMatthias Sohn sha1 = "c4f7d054303948eb6a4066194253886c8af07128", 176e92a0c3aSDavid Ostrovsky) 177e92a0c3aSDavid Ostrovsky 178e92a0c3aSDavid Ostrovskymaven_jar( 179dd5e500aSDavid Pursehouse name = "args4j", 1804e913fceSDavid Pursehouse artifact = "args4j:args4j:2.33", 1814e913fceSDavid Pursehouse sha1 = "bd87a75374a6d6523de82fef51fc3cfe9baf9fc9", 182e92a0c3aSDavid Ostrovsky) 183e92a0c3aSDavid Ostrovsky 184e92a0c3aSDavid Ostrovskymaven_jar( 185dd5e500aSDavid Pursehouse name = "junit", 186c02a57f4SDavid Pursehouse artifact = "junit:junit:4.13", 187c02a57f4SDavid Pursehouse sha1 = "e49ccba652b735c93bd6e6f59760d8254cf597dd", 188e92a0c3aSDavid Ostrovsky) 189e92a0c3aSDavid Ostrovsky 190e92a0c3aSDavid Ostrovskymaven_jar( 19119222ce7SDavid Pursehouse name = "hamcrest-library", 192dd5e500aSDavid Pursehouse artifact = "org.hamcrest:hamcrest-library:1.3", 193dd5e500aSDavid Pursehouse sha1 = "4785a3c21320980282f9f33d0d1264a69040538f", 194e92a0c3aSDavid Ostrovsky) 195e92a0c3aSDavid Ostrovsky 196e92a0c3aSDavid Ostrovskymaven_jar( 19719222ce7SDavid Pursehouse name = "hamcrest-core", 198dd5e500aSDavid Pursehouse artifact = "org.hamcrest:hamcrest-core:1.3", 199dd5e500aSDavid Pursehouse sha1 = "42a25dc3219429f0e5d060061f71acb49bf010a0", 200e92a0c3aSDavid Ostrovsky) 201e92a0c3aSDavid Ostrovsky 202e92a0c3aSDavid Ostrovskymaven_jar( 2032532fa74SMatthias Sohn name = "mockito", 2044d46a68aSMatthias Sohn artifact = "org.mockito:mockito-core:2.23.0", 2054d46a68aSMatthias Sohn sha1 = "497ddb32fd5d01f9dbe99a2ec790aeb931dff1b1", 2062532fa74SMatthias Sohn) 2072532fa74SMatthias Sohn 2088ada9048SMatthias Sohnmaven_jar( 2098ada9048SMatthias Sohn name = "assertj-core", 2108ada9048SMatthias Sohn artifact = "org.assertj:assertj-core:3.14.0", 2118ada9048SMatthias Sohn sha1 = "3b7b0fcac821f3d167764e9926573cd64f78f9e9", 2128ada9048SMatthias Sohn) 2138ada9048SMatthias Sohn 2140eea7368SMatthias SohnBYTE_BUDDY_VERSION = "1.9.0" 2152532fa74SMatthias Sohn 2162532fa74SMatthias Sohnmaven_jar( 2174d46a68aSMatthias Sohn name = "bytebuddy", 2182532fa74SMatthias Sohn artifact = "net.bytebuddy:byte-buddy:" + BYTE_BUDDY_VERSION, 2194d46a68aSMatthias Sohn sha1 = "8cb0d5baae526c9df46ae17693bbba302640538b", 2202532fa74SMatthias Sohn) 2212532fa74SMatthias Sohn 2222532fa74SMatthias Sohnmaven_jar( 2234d46a68aSMatthias Sohn name = "bytebuddy-agent", 2242532fa74SMatthias Sohn artifact = "net.bytebuddy:byte-buddy-agent:" + BYTE_BUDDY_VERSION, 2254d46a68aSMatthias Sohn sha1 = "37b5703b4a6290be3fffc63ae9c6bcaaee0ff856", 2262532fa74SMatthias Sohn) 2272532fa74SMatthias Sohn 2282532fa74SMatthias Sohnmaven_jar( 2292532fa74SMatthias Sohn name = "objenesis", 2302532fa74SMatthias Sohn artifact = "org.objenesis:objenesis:2.6", 2312532fa74SMatthias Sohn sha1 = "639033469776fd37c08358c6b92a4761feb2af4b", 2322532fa74SMatthias Sohn) 2332532fa74SMatthias Sohn 2342532fa74SMatthias Sohnmaven_jar( 235dd5e500aSDavid Pursehouse name = "gson", 236f3bb0e26SDavid Pursehouse artifact = "com.google.code.gson:gson:2.8.2", 237f3bb0e26SDavid Pursehouse sha1 = "3edcfe49d2c6053a70a2a47e4e1c2f94998a49cf", 238e92a0c3aSDavid Ostrovsky) 2390f6ddb37SDavid Ostrovsky 240db48fcedSMatthias SohnJETTY_VER = "9.4.35.v20201120" 2410f6ddb37SDavid Ostrovsky 2420f6ddb37SDavid Ostrovskymaven_jar( 24319222ce7SDavid Pursehouse name = "jetty-servlet", 2440f6ddb37SDavid Ostrovsky artifact = "org.eclipse.jetty:jetty-servlet:" + JETTY_VER, 245db48fcedSMatthias Sohn sha1 = "3e61bcb471e1bfc545ce866cbbe33c3aedeec9b1", 246db48fcedSMatthias Sohn src_sha1 = "e237af9dd6556756736fcdc7da00194fa00d3c2b", 2470f6ddb37SDavid Ostrovsky) 2480f6ddb37SDavid Ostrovsky 2490f6ddb37SDavid Ostrovskymaven_jar( 25019222ce7SDavid Pursehouse name = "jetty-security", 2510f6ddb37SDavid Ostrovsky artifact = "org.eclipse.jetty:jetty-security:" + JETTY_VER, 252db48fcedSMatthias Sohn sha1 = "80dc2f422789c78315de76d289b7a5b36c3232d5", 253db48fcedSMatthias Sohn src_sha1 = "3c0d03191fdffd9cf1e46fa206d79eeb9e3adb90", 2540f6ddb37SDavid Ostrovsky) 2550f6ddb37SDavid Ostrovsky 2560f6ddb37SDavid Ostrovskymaven_jar( 25719222ce7SDavid Pursehouse name = "jetty-server", 2580f6ddb37SDavid Ostrovsky artifact = "org.eclipse.jetty:jetty-server:" + JETTY_VER, 259db48fcedSMatthias Sohn sha1 = "513502352fd689d4730b2935421b990ada8cc818", 260db48fcedSMatthias Sohn src_sha1 = "760d3574ebc7f9b9b1ba51242b9c1dda6fe5505b", 2610f6ddb37SDavid Ostrovsky) 2620f6ddb37SDavid Ostrovsky 2630f6ddb37SDavid Ostrovskymaven_jar( 26419222ce7SDavid Pursehouse name = "jetty-http", 2650f6ddb37SDavid Ostrovsky artifact = "org.eclipse.jetty:jetty-http:" + JETTY_VER, 266db48fcedSMatthias Sohn sha1 = "45d35131a35a1e76991682174421e8cdf765fb9f", 267db48fcedSMatthias Sohn src_sha1 = "491cd5b8abe8fe6f3db0086907a3f12440188e73", 2680f6ddb37SDavid Ostrovsky) 2690f6ddb37SDavid Ostrovsky 2700f6ddb37SDavid Ostrovskymaven_jar( 27119222ce7SDavid Pursehouse name = "jetty-io", 2720f6ddb37SDavid Ostrovsky artifact = "org.eclipse.jetty:jetty-io:" + JETTY_VER, 273db48fcedSMatthias Sohn sha1 = "eb9460700b99b71ecd82a53697f5ff99f69b9e1c", 274db48fcedSMatthias Sohn src_sha1 = "fed96a4559a49e7173dbe2d9d8e100d72aee2a10", 2750f6ddb37SDavid Ostrovsky) 2760f6ddb37SDavid Ostrovsky 2770f6ddb37SDavid Ostrovskymaven_jar( 27819222ce7SDavid Pursehouse name = "jetty-util", 2790f6ddb37SDavid Ostrovsky artifact = "org.eclipse.jetty:jetty-util:" + JETTY_VER, 280db48fcedSMatthias Sohn sha1 = "ef61b83f9715c3b5355b633d9f01d2834f908ece", 281db48fcedSMatthias Sohn src_sha1 = "8f178bebeb34c8365a06d854daa9b22da1b301d7", 2820f6ddb37SDavid Ostrovsky) 283137e91a4SMedha Bhargav Prabhala 284*4120d17bSMatthias Sohnmaven_jar( 285*4120d17bSMatthias Sohn name = "jetty-util-ajax", 286*4120d17bSMatthias Sohn artifact = "org.eclipse.jetty:jetty-util-ajax:" + JETTY_VER, 287*4120d17bSMatthias Sohn sha1 = "ebbb43912c6423bedb3458e44aee28eeb4d66f27", 288*4120d17bSMatthias Sohn src_sha1 = "b3acea974a17493afb125a9dfbe783870ce1d2f9", 289*4120d17bSMatthias Sohn) 290*4120d17bSMatthias Sohn 291bcf48797SMatthias SohnBOUNCYCASTLE_VER = "1.65" 292137e91a4SMedha Bhargav Prabhala 293137e91a4SMedha Bhargav Prabhalamaven_jar( 2945e4be72bSDavid Ostrovsky name = "bcpg", 295137e91a4SMedha Bhargav Prabhala artifact = "org.bouncycastle:bcpg-jdk15on:" + BOUNCYCASTLE_VER, 296bcf48797SMatthias Sohn sha1 = "f32fc02cc29c9fdcc35c0de4d16964f01777067c", 297b3f08af8SDavid Pursehouse src_sha1 = "508476d5383c7d086b400f5e7c5a8cf4dc8ac4e2", 298137e91a4SMedha Bhargav Prabhala) 299137e91a4SMedha Bhargav Prabhala 300137e91a4SMedha Bhargav Prabhalamaven_jar( 3015e4be72bSDavid Ostrovsky name = "bcprov", 30277848d63SMatthias Sohn artifact = "org.bouncycastle:bcprov-jdk15on:1.65.01", 30377848d63SMatthias Sohn sha1 = "0fbd478ea7b07acc3902b9585a37fd88393f8427", 30477848d63SMatthias Sohn src_sha1 = "8f54635075628c69b6c037e800dd0b03ffb8dd51", 305137e91a4SMedha Bhargav Prabhala) 306137e91a4SMedha Bhargav Prabhala 307137e91a4SMedha Bhargav Prabhalamaven_jar( 3085e4be72bSDavid Ostrovsky name = "bcpkix", 309137e91a4SMedha Bhargav Prabhala artifact = "org.bouncycastle:bcpkix-jdk15on:" + BOUNCYCASTLE_VER, 310bcf48797SMatthias Sohn sha1 = "c9507d93e4b453320b57d9ac21bdd67d65a00bbc", 311bcf48797SMatthias Sohn src_sha1 = "16c71e83af43927d20ccad19defcbb0babcbdb26", 312137e91a4SMedha Bhargav Prabhala) 313