blob: e1272fd1d95a0c12ecd32e1343bc68209664e7a2 [file] [log] [blame]
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.25.0",
sha1 = "9d35aec423da6c8a7f93d7e9e1c6b1d9fe14bb5e",
)
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.8.0",
sha1 = "df310627f77f859114ad31e1376fff0dce263cca",
)
maven_jar(
name = "assertj-core",
artifact = "org.assertj:assertj-core:3.24.2",
sha1 = "ebbf338e33f893139459ce5df023115971c2786f",
)
BYTE_BUDDY_VERSION = "1.14.10"
maven_jar(
name = "bytebuddy",
artifact = "net.bytebuddy:byte-buddy:" + BYTE_BUDDY_VERSION,
sha1 = "8117daf4a612122eb4f517f66adff778cb8b4737",
)
maven_jar(
name = "bytebuddy-agent",
artifact = "net.bytebuddy:byte-buddy-agent:" + BYTE_BUDDY_VERSION,
sha1 = "90ed94ac044ea8953b224304c762316e91fd6b31",
)
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.18"
maven_jar(
name = "jetty-servlet",
artifact = "org.eclipse.jetty:jetty-servlet:" + JETTY_VER,
sha1 = "cc0acde71a3b04db8fcde2ad60a00dfd4effab23",
src_sha1 = "b038debaa2c0c4674fa1bc6e96bcf8bf283be0e8",
)
maven_jar(
name = "jetty-security",
artifact = "org.eclipse.jetty:jetty-security:" + JETTY_VER,
sha1 = "399601ef4e649b3be6f9fd6176b208914f9fd171",
src_sha1 = "b203e58304afe23d8820af6abe3ca39696fe7530",
)
maven_jar(
name = "jetty-server",
artifact = "org.eclipse.jetty:jetty-server:" + JETTY_VER,
sha1 = "b59b7df009bbb85be455e42524e9a11944fb3ba1",
src_sha1 = "d45709036a573843cd57daeb3112f00f8bf4f753",
)
maven_jar(
name = "jetty-http",
artifact = "org.eclipse.jetty:jetty-http:" + JETTY_VER,
sha1 = "9b7f2b580bdcf2a9c27168eac58276c7e6e99ccf",
src_sha1 = "4bbede666e912c8abb60c04022b84225fe9ce369",
)
maven_jar(
name = "jetty-io",
artifact = "org.eclipse.jetty:jetty-io:" + JETTY_VER,
sha1 = "a622527216b27f72744daf849aa2fa0c6f3db131",
src_sha1 = "402c5aa958a734576f13898e63f7ca7f73360b76",
)
maven_jar(
name = "jetty-util",
artifact = "org.eclipse.jetty:jetty-util:" + JETTY_VER,
sha1 = "1ee6a71c2249d5596ba578f015121c99b2b7591a",
src_sha1 = "cbba373f654f22e0f0c10c02938e2df8ec2f0fd3",
)
maven_jar(
name = "jetty-util-ajax",
artifact = "org.eclipse.jetty:jetty-util-ajax:" + JETTY_VER,
sha1 = "3560c8a15f920e24daf8ad4196e23ec21610f7d6",
src_sha1 = "4b4966b125c586795e425b7b561bcd5b223d6617",
)
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",
)