workspace(name = "jgit") load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") load("//tools:bazlets.bzl", "load_bazlets") load_bazlets(commit = "f9c119e45d9a241bee720b7fbd6c7fdbc952da5f") load( "@com_googlesource_gerrit_bazlets//tools:maven_jar.bzl", "maven_jar", ) http_archive( name = "rbe_jdk11", sha256 = "dbcfd6f26589ef506b91fe03a12dc559ca9c84699e4cf6381150522287f0e6f6", strip_prefix = "rbe_autoconfig-3.1.0", urls = [ "https://gerrit-bazel.storage.googleapis.com/rbe_autoconfig/v3.1.0.tar.gz", "https://github.com/davido/rbe_autoconfig/archive/v3.1.0.tar.gz", ], ) register_toolchains("//tools:error_prone_warnings_toolchain_java11_definition") register_toolchains("//tools:error_prone_warnings_toolchain_java17_definition") JMH_VERS = "1.37" maven_jar( name = "jmh-core", artifact = "org.openjdk.jmh:jmh-core:" + JMH_VERS, attach_source = False, sha1 = "896f27e49105b35ea1964319c83d12082e7a79ef", ) maven_jar( name = "jmh-annotations", artifact = "org.openjdk.jmh:jmh-generator-annprocess:" + JMH_VERS, attach_source = False, sha1 = "da93888682df163144edf9b13d2b78e54166063a", ) 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.3", sha1 = "c01428efa717624f7aabf4df319939dda9646b2d", ) maven_jar( name = "javaewah", artifact = "com.googlecode.javaewah:JavaEWAH:1.2.3", sha1 = "13a27c856e0c8808cee9a64032c58eee11c3adc9", ) maven_jar( name = "httpclient", artifact = "org.apache.httpcomponents:httpclient:4.5.14", sha1 = "1194890e6f56ec29177673f2f12d0b8e627dec98", ) maven_jar( name = "httpcore", artifact = "org.apache.httpcomponents:httpcore:4.4.16", sha1 = "51cf043c87253c9f58b539c9f7e44c8894223850", ) SSHD_VERS = "2.12.0" maven_jar( name = "sshd-osgi", artifact = "org.apache.sshd:sshd-osgi:" + SSHD_VERS, sha1 = "32b8de1cbb722ba75bdf9898e0c41d42af00ce57", ) maven_jar( name = "sshd-sftp", artifact = "org.apache.sshd:sshd-sftp:" + SSHD_VERS, sha1 = "0f96f00a07b186ea62838a6a4122e8f4cad44df6", ) JNA_VERS = "5.14.0" maven_jar( name = "jna", artifact = "net.java.dev.jna:jna:" + JNA_VERS, sha1 = "67bf3eaea4f0718cb376a181a629e5f88fa1c9dd", ) maven_jar( name = "jna-platform", artifact = "net.java.dev.jna:jna-platform:" + JNA_VERS, sha1 = "28934d48aed814f11e4c584da55c49fa7032b31b", ) maven_jar( name = "commons-codec", artifact = "commons-codec:commons-codec:1.16.0", sha1 = "4e3eb3d79888d76b54e28b350915b5dc3919c9de", ) 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.36", sha1 = "6c62681a2f655b49963a5983b8b0950a6120ae14", ) maven_jar( name = "slf4j-simple", artifact = "org.slf4j:slf4j-simple:1.7.36", sha1 = "a41f9cfe6faafb2eb83a1c7dd2d0dfd844e2a936", ) maven_jar( name = "servlet-api", artifact = "jakarta.servlet:jakarta.servlet-api:4.0.4", sha1 = "b8a1142e04838fe54194049c6e7a18dae8f9b960", ) maven_jar( name = "commons-compress", artifact = "org.apache.commons:commons-compress:1.26.0", sha1 = "659feffdd12280201c8aacb8f7be94f9a883c824", ) maven_jar( name = "commons-io", artifact = "commons-io:commons-io:2.15.1", sha1 = "f11560da189ab563a5c8e351941415430e9304ea", ) 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:5.10.0", sha1 = "b3812fa2ee069f1d0b41c1c0155da79d0e1dcde0", ) maven_jar( name = "assertj-core", artifact = "org.assertj:assertj-core:3.25.3", sha1 = "792b270e73aa1cfc28fa135be0b95e69ea451432", ) BYTE_BUDDY_VERSION = "1.14.12" maven_jar( name = "bytebuddy", artifact = "net.bytebuddy:byte-buddy:" + BYTE_BUDDY_VERSION, sha1 = "6e37f743dc15a8d7a4feb3eb0025cbc612d5b9e1", ) maven_jar( name = "bytebuddy-agent", artifact = "net.bytebuddy:byte-buddy-agent:" + BYTE_BUDDY_VERSION, sha1 = "be4984cb6fd1ef1d11f218a648889dfda44b8a15", ) maven_jar( name = "objenesis", artifact = "org.objenesis:objenesis:3.3", sha1 = "1049c09f1de4331e8193e579448d0916d75b7631", ) maven_jar( name = "gson", artifact = "com.google.code.gson:gson:2.10.1", sha1 = "b3add478d4382b78ea20b1671390a858002feb6c", ) JETTY_VER = "10.0.20" maven_jar( name = "jetty-servlet", artifact = "org.eclipse.jetty:jetty-servlet:" + JETTY_VER, sha1 = "e3661d28d5f2e2185fb085ce5560b2969e8f7c1e", src_sha1 = "23b97219833769e3e69a071abab3811f49077e2e", ) maven_jar( name = "jetty-security", artifact = "org.eclipse.jetty:jetty-security:" + JETTY_VER, sha1 = "f082f9198038e4781ff4cdf4d32db9f90fa8f38a", src_sha1 = "a1acb8cb40bd495ba67562cb342f371425dba47b", ) maven_jar( name = "jetty-server", artifact = "org.eclipse.jetty:jetty-server:" + JETTY_VER, sha1 = "66deea078236e21ae9dd7443716b7642766526aa", src_sha1 = "e2ddea07b6c85dbc7cf078e408f68d69e504b33c", ) maven_jar( name = "jetty-http", artifact = "org.eclipse.jetty:jetty-http:" + JETTY_VER, sha1 = "d76bf933db81e9f530f1e59f1858bceddb7c4a43", src_sha1 = "5fd939e4e5000ac76eb686e68e978747802c8a5f", ) maven_jar( name = "jetty-io", artifact = "org.eclipse.jetty:jetty-io:" + JETTY_VER, sha1 = "269cea7949f739e41707f3d574782c9f227fe188", src_sha1 = "1d30687503a0256da23706e1ebf597658d8c0011", ) maven_jar( name = "jetty-util", artifact = "org.eclipse.jetty:jetty-util:" + JETTY_VER, sha1 = "c628108266e75f17dffee34191b74a696fe21746", src_sha1 = "63c17b20a8ca5c3bc1740bd807ad446f842749b4", ) maven_jar( name = "jetty-util-ajax", artifact = "org.eclipse.jetty:jetty-util-ajax:" + JETTY_VER, sha1 = "049dcc0ad4190786e17389b257195fe936ed3d27", src_sha1 = "b012c053d25d902cc64a5c4432a8eedab3241d94", ) BOUNCYCASTLE_VER = "1.77" maven_jar( name = "bcpg", artifact = "org.bouncycastle:bcpg-jdk18on:" + BOUNCYCASTLE_VER, sha1 = "bb0be51e8b378baae6e0d86f5282cd3887066539", src_sha1 = "33ff3269cede7165dac44033a3b150cc9f9f11cf", ) maven_jar( name = "bcprov", artifact = "org.bouncycastle:bcprov-jdk18on:" + BOUNCYCASTLE_VER, sha1 = "2cc971b6c20949c1ff98d1a4bc741ee848a09523", src_sha1 = "14ea9a3d759261358c6a1f59490ded125b5273a6", ) maven_jar( name = "bcutil", artifact = "org.bouncycastle:bcutil-jdk18on:" + BOUNCYCASTLE_VER, sha1 = "de3eaef351545fe8562cf29ddff4a403a45b49b7", src_sha1 = "6f8f56ab009e7a3204817a0d45ed9638f5e30116", ) maven_jar( name = "bcpkix", artifact = "org.bouncycastle:bcpkix-jdk18on:" + BOUNCYCASTLE_VER, sha1 = "ed953791ba0229747dd0fd9911e3d76a462acfd3", src_sha1 = "fdff397d5de0306db014f0a17e91717150db2768", )