workspace(name = "jgit") load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "bazel_skylib", sha256 = "2ea8a5ed2b448baf4a6855d3ce049c4c452a6470b1efd1504fdb7c1c134d220a", strip_prefix = "bazel-skylib-0.8.0", urls = ["https://github.com/bazelbuild/bazel-skylib/archive/0.8.0.tar.gz"], ) # Check Bazel version when invoked by Bazel directly load("//tools:bazelisk_version.bzl", "bazelisk_version") bazelisk_version(name = "bazelisk_version") load("@bazelisk_version//:check.bzl", "check_bazel_version") check_bazel_version() load("//tools:bazlets.bzl", "load_bazlets") load_bazlets(commit = "f30a992da9fc855dce819875afb59f9dd6f860cd") load( "@com_googlesource_gerrit_bazlets//tools:maven_jar.bzl", "maven_jar", ) http_archive( name = "openjdk15_linux_archive", build_file_content = """ java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public']) exports_files(["WORKSPACE"], visibility = ["//visibility:public"]) """, sha256 = "0a38f1138c15a4f243b75eb82f8ef40855afcc402e3c2a6de97ce8235011b1ad", strip_prefix = "zulu15.27.17-ca-jdk15.0.0-linux_x64", urls = [ "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu15.27.17-ca-jdk15.0.0-linux_x64.tar.gz", "https://cdn.azul.com/zulu/bin/zulu15.27.17-ca-jdk15.0.0-linux_x64.tar.gz", ], ) http_archive( name = "openjdk15_darwin_archive", build_file_content = """ java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public']) exports_files(["WORKSPACE"], visibility = ["//visibility:public"]) """, sha256 = "f80b2e0512d9d8a92be24497334c974bfecc8c898fc215ce0e76594f00437482", strip_prefix = "zulu15.27.17-ca-jdk15.0.0-macosx_x64", urls = [ "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu15.27.17-ca-jdk15.0.0-macosx_x64.tar.gz", "https://cdn.azul.com/zulu/bin/zulu15.27.17-ca-jdk15.0.0-macosx_x64.tar.gz", ], ) JMH_VERS = "1.32" maven_jar( name = "jmh-core", artifact = "org.openjdk.jmh:jmh-core:" + JMH_VERS, attach_source = False, sha1 = "9a8b69ea08118fd4e5d30a152d37b7087ee4a720", ) maven_jar( name = "jmh-annotations", artifact = "org.openjdk.jmh:jmh-generator-annprocess:" + JMH_VERS, attach_source = False, sha1 = "0a28eccc75e0d65984ce25e1ec4dd021a0ca6c57", ) maven_jar( name = "jopt", artifact = "net.sf.jopt-simple:jopt-simple:5.0.4", attach_source = False, sha1 = "4fdac2fbe92dfad86aa6e9301736f6b4342a3f5c", ) maven_jar( name = "math3", artifact = "org.apache.commons:commons-math3:3.6.1", attach_source = False, sha1 = "e4ba98f1d4b3c80ec46392f25e094a6a2e58fcbf", ) maven_jar( name = "eddsa", artifact = "net.i2p.crypto:eddsa:0.3.0", sha1 = "1901c8d4d8bffb7d79027686cfb91e704217c3e1", ) maven_jar( name = "jsch", artifact = "com.jcraft:jsch:0.1.55", sha1 = "bbd40e5aa7aa3cfad5db34965456cee738a42a50", ) maven_jar( name = "jzlib", artifact = "com.jcraft:jzlib:1.1.1", sha1 = "a1551373315ffc2f96130a0e5704f74e151777ba", ) maven_jar( name = "javaewah", artifact = "com.googlecode.javaewah:JavaEWAH:1.1.13", sha1 = "32cd724a42dc73f99ca08453d11a4bb83e0034c7", ) maven_jar( name = "httpclient", artifact = "org.apache.httpcomponents:httpclient:4.5.13", sha1 = "e5f6cae5ca7ecaac1ec2827a9e2d65ae2869cada", ) maven_jar( name = "httpcore", artifact = "org.apache.httpcomponents:httpcore:4.4.14", sha1 = "9dd1a631c082d92ecd4bd8fd4cf55026c720a8c1", ) maven_jar( name = "sshd-osgi", artifact = "org.apache.sshd:sshd-osgi:2.7.0", sha1 = "a101aad0f79ad424498098f7e91c39d3d92177c1", ) maven_jar( name = "sshd-sftp", artifact = "org.apache.sshd:sshd-sftp:2.7.0", sha1 = "0c9eff7145e20b338c1dd6aca36ba93ed7c0147c", ) maven_jar( name = "jna", artifact = "net.java.dev.jna:jna:5.8.0", sha1 = "3551d8d827e54858214107541d3aff9c615cb615", ) maven_jar( name = "jna-platform", artifact = "net.java.dev.jna:jna-platform:5.8.0", sha1 = "2f12f6d7f7652270d13624cef1b82d8cd9a5398e", ) maven_jar( name = "commons-codec", artifact = "commons-codec:commons-codec:1.14", sha1 = "3cb1181b2141a7e752f5bdc998b7ef1849f726cf", ) maven_jar( name = "commons-logging", artifact = "commons-logging:commons-logging:1.2", sha1 = "4bfc12adfe4842bf07b657f0369c4cb522955686", ) maven_jar( name = "log-api", artifact = "org.slf4j:slf4j-api:1.7.30", sha1 = "b5a4b6d16ab13e34a88fae84c35cd5d68cac922c", ) maven_jar( name = "slf4j-simple", artifact = "org.slf4j:slf4j-simple:1.7.30", sha1 = "e606eac955f55ecf1d8edcccba04eb8ac98088dd", ) maven_jar( name = "servlet-api", artifact = "javax.servlet:javax.servlet-api:4.0.0", sha1 = "60200affc2fe0165136ed3690faf00b66aed581a", ) maven_jar( name = "commons-compress", artifact = "org.apache.commons:commons-compress:1.21", sha1 = "4ec95b60d4e86b5c95a0e919cb172a0af98011ef", ) maven_jar( name = "tukaani-xz", artifact = "org.tukaani:xz:1.9", sha1 = "1ea4bec1a921180164852c65006d928617bd2caf", ) maven_jar( name = "args4j", artifact = "args4j:args4j:2.33", sha1 = "bd87a75374a6d6523de82fef51fc3cfe9baf9fc9", ) maven_jar( name = "junit", artifact = "junit:junit:4.13.2", sha1 = "8ac9e16d933b6fb43bc7f576336b8f4d7eb5ba12", ) maven_jar( name = "hamcrest", artifact = "org.hamcrest:hamcrest:2.2", sha1 = "1820c0968dba3a11a1b30669bb1f01978a91dedc", ) maven_jar( name = "mockito", artifact = "org.mockito:mockito-core:2.23.0", sha1 = "497ddb32fd5d01f9dbe99a2ec790aeb931dff1b1", ) maven_jar( name = "assertj-core", artifact = "org.assertj:assertj-core:3.20.2", sha1 = "66f1f0ebd6db2b24e4a731979171da16ba919cd5", ) BYTE_BUDDY_VERSION = "1.9.0" maven_jar( name = "bytebuddy", artifact = "net.bytebuddy:byte-buddy:" + BYTE_BUDDY_VERSION, sha1 = "8cb0d5baae526c9df46ae17693bbba302640538b", ) maven_jar( name = "bytebuddy-agent", artifact = "net.bytebuddy:byte-buddy-agent:" + BYTE_BUDDY_VERSION, sha1 = "37b5703b4a6290be3fffc63ae9c6bcaaee0ff856", ) maven_jar( name = "objenesis", artifact = "org.objenesis:objenesis:2.6", sha1 = "639033469776fd37c08358c6b92a4761feb2af4b", ) maven_jar( name = "gson", artifact = "com.google.code.gson:gson:2.8.8", sha1 = "431fc3cbc0ff81abdbfde070062741089c3ba874", ) JETTY_VER = "10.0.6" maven_jar( name = "jetty-servlet", artifact = "org.eclipse.jetty:jetty-servlet:" + JETTY_VER, sha1 = "482165726bf54dd10ee7e2aeb4ae9481eee0c878", src_sha1 = "8a8173a0bc6c0d215fc9fb9ba5fd50bae1690f9c", ) maven_jar( name = "jetty-security", artifact = "org.eclipse.jetty:jetty-security:" + JETTY_VER, sha1 = "513f44ed9636ca5e0adefa0c0b81511065dfddd2", src_sha1 = "2e7eb2edbf1592e15b338096651e379fea860859", ) maven_jar( name = "jetty-server", artifact = "org.eclipse.jetty:jetty-server:" + JETTY_VER, sha1 = "125ee07e4d8182a6afca00d543f6a4dcc84f2678", src_sha1 = "5c0789872ec6743ae893131ae81262aaefc87fe6", ) maven_jar( name = "jetty-http", artifact = "org.eclipse.jetty:jetty-http:" + JETTY_VER, sha1 = "4c8eed25d577002a6c0f9f3ef340eb581390f696", src_sha1 = "ac7214d6202ee0cbc4bdbcf90c7906ca716e84e5", ) maven_jar( name = "jetty-io", artifact = "org.eclipse.jetty:jetty-io:" + JETTY_VER, sha1 = "1ab82ae5dfdbb07f0ffa07f28274fdf30e3e96ee", src_sha1 = "c59082f3a09c024fafc281f432b67432d398b8c0", ) maven_jar( name = "jetty-util", artifact = "org.eclipse.jetty:jetty-util:" + JETTY_VER, sha1 = "4e2935749ea1c9fcabba61a857f8283c7f5f9885", src_sha1 = "6baba651899c044e14ba37d43934950670d2aa4e", ) maven_jar( name = "jetty-util-ajax", artifact = "org.eclipse.jetty:jetty-util-ajax:" + JETTY_VER, sha1 = "a801d4b5f5e906f134713ae82fd1ea10a15902c6", src_sha1 = "f35f5525a5d30dc1237b85457d758d578e3ce8d0", ) BOUNCYCASTLE_VER = "1.69" maven_jar( name = "bcpg", artifact = "org.bouncycastle:bcpg-jdk15on:" + BOUNCYCASTLE_VER, sha1 = "d99a08c3f651b26e8eb668e941b0bbd2c09ece08", src_sha1 = "de1fc261b44a8eb60583413a31ffc98ce3dce38b", ) maven_jar( name = "bcprov", artifact = "org.bouncycastle:bcprov-jdk15on:" + BOUNCYCASTLE_VER, sha1 = "91e1628251cf3ca90093ce9d0fe67e5b7dab3850", src_sha1 = "67dc6476845f6b29cb520b5df61db65ae56718e4", ) maven_jar( name = "bcutil", artifact = "org.bouncycastle:bcutil-jdk15on:" + BOUNCYCASTLE_VER, sha1 = "c3edf93d346e97f64f041e448e7455c39c7eff64", src_sha1 = "deeb3fbbf373e05e2a20941f9a8ce90e9aeab3d2", ) maven_jar( name = "bcpkix", artifact = "org.bouncycastle:bcpkix-jdk15on:" + BOUNCYCASTLE_VER, sha1 = "45c36fb72fafb0b688c6af795e6cc803f6f79ee5", src_sha1 = "8bc5214401459bd91eea816b516079da38374e90", )