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 = "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:3.1.0", sha1 = "3cd63d075497751784b2fa84be59432f4905bf7c", ) 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 = "9.4.43.v20210629" maven_jar( name = "jetty-servlet", artifact = "org.eclipse.jetty:jetty-servlet:" + JETTY_VER, sha1 = "ee000c7dcdbe7b4ef94e3fa67be8f56a46915944", src_sha1 = "50236764fe1d3619ca07f346e148189c4f5b801a", ) maven_jar( name = "jetty-security", artifact = "org.eclipse.jetty:jetty-security:" + JETTY_VER, sha1 = "ae1958da077c46bac61be9b8de2b45a3aa112353", src_sha1 = "6e5271e91da37e381f566e0db07ab4d936d86104", ) maven_jar( name = "jetty-server", artifact = "org.eclipse.jetty:jetty-server:" + JETTY_VER, sha1 = "8ba04f6b5d00223983684a563a3edaa12282bcf0", src_sha1 = "51600567dbd082fb03feeb9c786f5e7cc9e0a17d", ) maven_jar( name = "jetty-http", artifact = "org.eclipse.jetty:jetty-http:" + JETTY_VER, sha1 = "5171466337a6da7efbf317490b9c4574c0b4b640", src_sha1 = "52f477161fd0fc90869f48a145aa2c86624c496e", ) maven_jar( name = "jetty-io", artifact = "org.eclipse.jetty:jetty-io:" + JETTY_VER, sha1 = "acf672c64ac21851069c5b5b789e5c185a25933f", src_sha1 = "824d5cffce7a72af7c11d9cd87f86184e2a05c17", ) maven_jar( name = "jetty-util", artifact = "org.eclipse.jetty:jetty-util:" + JETTY_VER, sha1 = "97306fd3c76171602caad2acc54ca779c9240d5f", src_sha1 = "dffff7271c248d4e21e2b1629c57896b8e631051", ) maven_jar( name = "jetty-util-ajax", artifact = "org.eclipse.jetty:jetty-util-ajax:" + JETTY_VER, sha1 = "2500d180c6e8e28eb3b75372b6ea9d457cf37658", src_sha1 = "682470f5ad074e64fc0e9c93bdc2784482f79362", ) 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", )