blob: 6404298a6b55c2ba865afb28ee7f8bbb6524250f [file] [log] [blame] [raw]
workspace(name = "gitiles")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_python",
sha256 = "e5470e92a18aa51830db99a4d9c492cc613761d5bdb7131c04bd92b9834380f6",
strip_prefix = "rules_python-4b84ad270387a7c439ebdccfd530e2339601ef27",
urls = ["https://github.com/bazelbuild/rules_python/archive/4b84ad270387a7c439ebdccfd530e2339601ef27.tar.gz"],
)
load("//tools:bazlets.bzl", "load_bazlets")
load_bazlets(
commit = "f30a992da9fc855dce819875afb59f9dd6f860cd",
# local_path = "/home/<user>/projects/bazlets",
)
load(
"@com_googlesource_gerrit_bazlets//tools:maven_jar.bzl",
"maven_jar",
)
# JGit external repository consumed from git submodule
local_repository(
name = "jgit",
path = "modules/jgit",
)
maven_jar(
name = "commons-lang3",
artifact = "org.apache.commons:commons-lang3:3.8.1",
sha1 = "6505a72a097d9270f7a9e7bf42c4238283247755",
)
maven_jar(
name = "commons-text",
artifact = "org.apache.commons:commons-text:1.2",
sha1 = "74acdec7237f576c4803fff0c1008ab8a3808b2b",
)
maven_jar(
name = "gson",
artifact = "com.google.code.gson:gson:2.8.5",
sha1 = "f645ed69d595b24d4cf8b3fbb64cc505bede8829",
)
maven_jar(
name = "guava",
artifact = "com.google.guava:guava:30.1-jre",
sha1 = "00d0c3ce2311c9e36e73228da25a6e99b2ab826f",
)
maven_jar(
name = "guava-failureaccess",
artifact = "com.google.guava:failureaccess:1.0.1",
sha1 = "1dcf1de382a0bf95a3d8b0849546c88bac1292c9",
)
maven_jar(
name = "jsr305",
artifact = "com.google.code.findbugs:jsr305:3.0.1",
attach_source = False,
sha1 = "f7be08ec23c21485b9b5a1cf1654c2ec8c58168d",
)
# When upgrading prettify it should also be updated in plugins/gitiles
maven_jar(
name = "prettify",
artifact = "com.github.twalcari:java-prettify:1.2.2",
sha1 = "b8ba1c1eb8b2e45cfd465d01218c6060e887572e",
)
COMMONMARK_VERSION = "0.10.0"
# When upgrading commonmark it should also be updated in plugins/gitiles
maven_jar(
name = "commonmark",
artifact = "com.atlassian.commonmark:commonmark:" + COMMONMARK_VERSION,
sha1 = "119cb7bedc3570d9ecb64ec69ab7686b5c20559b",
)
maven_jar(
name = "cm-autolink",
artifact = "com.atlassian.commonmark:commonmark-ext-autolink:" + COMMONMARK_VERSION,
sha1 = "a6056a5efbd68f57d420bc51bbc54b28a5d3c56b",
)
maven_jar(
name = "autolink",
artifact = "org.nibor.autolink:autolink:0.7.0",
sha1 = "649f9f13422cf50c926febe6035662ae25dc89b2",
)
maven_jar(
name = "gfm-strikethrough",
artifact = "com.atlassian.commonmark:commonmark-ext-gfm-strikethrough:" + COMMONMARK_VERSION,
sha1 = "40837da951b421b545edddac57012e15fcc9e63c",
)
maven_jar(
name = "gfm-tables",
artifact = "com.atlassian.commonmark:commonmark-ext-gfm-tables:" + COMMONMARK_VERSION,
sha1 = "c075db2a3301100cf70c7dced8ecf86b494458a2",
)
maven_jar(
name = "servlet-api",
artifact = "javax.servlet:javax.servlet-api:3.1.0",
sha1 = "3cd63d075497751784b2fa84be59432f4905bf7c",
)
maven_jar(
name = "truth",
artifact = "com.google.truth:truth:1.1",
sha1 = "6a096a16646559c24397b03f797d0c9d75ee8720",
)
# Indirect dependency of truth
maven_jar(
name = "diffutils",
artifact = "com.googlecode.java-diff-utils:diffutils:1.3.0",
sha1 = "7e060dd5b19431e6d198e91ff670644372f60fbd",
)
maven_jar(
name = "soy",
artifact = "com.google.template:soy:2021-02-01",
sha1 = "8e833744832ba88059205a1e30e0898f925d8cb5",
)
maven_jar(
name = "html-types",
artifact = "com.google.common.html.types:types:1.0.8",
sha1 = "9e9cf7bc4b2a60efeb5f5581fe46d17c068e0777",
)
maven_jar(
name = "protobuf",
artifact = "com.google.protobuf:protobuf-java:3.6.1",
sha1 = "0d06d46ecfd92ec6d0f3b423b4cd81cb38d8b924",
)
maven_jar(
name = "icu4j",
artifact = "com.ibm.icu:icu4j:57.1",
sha1 = "198ea005f41219f038f4291f0b0e9f3259730e92",
)
maven_jar(
name = "javaewah",
artifact = "com.googlecode.javaewah:JavaEWAH:1.1.7",
sha1 = "570dde3cd706ae10c62fe19b150928cfdb415e87",
)
# When upgrading commons_compress, upgrade tukaani_xz to the
# corresponding version
maven_jar(
name = "commons-compress",
artifact = "org.apache.commons:commons-compress:1.18",
sha1 = "1191f9f2bc0c47a8cce69193feb1ff0a8bcb37d5",
)
# Transitive dependency of commons_compress. Should only be
# upgraded at the same time as commons_compress.
maven_jar(
name = "tukaani-xz",
artifact = "org.tukaani:xz:1.8",
attach_source = False,
sha1 = "c4f7d054303948eb6a4066194253886c8af07128",
)
maven_jar(
name = "junit",
artifact = "junit:junit:4.12",
sha1 = "2973d150c0dc1fefe998f834810d68f278ea58ec",
)
maven_jar(
name = "hamcrest-library",
artifact = "org.hamcrest:hamcrest-library:1.3",
sha1 = "4785a3c21320980282f9f33d0d1264a69040538f",
)
maven_jar(
name = "hamcrest-core",
artifact = "org.hamcrest:hamcrest-core:1.3",
sha1 = "42a25dc3219429f0e5d060061f71acb49bf010a0",
)
maven_jar(
name = "mockito",
artifact = "org.mockito:mockito-core:2.23.0",
sha1 = "497ddb32fd5d01f9dbe99a2ec790aeb931dff1b1",
)
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",
)
SL_VERS = "1.7.26"
maven_jar(
name = "log-api",
artifact = "org.slf4j:slf4j-api:" + SL_VERS,
sha1 = "77100a62c2e6f04b53977b9f541044d7d722693d",
)
maven_jar(
name = "slf4j-simple",
artifact = "org.slf4j:slf4j-simple:" + SL_VERS,
sha1 = "dfb0de47f433c2a37dd44449c88d84b698cd5cf7",
)
GUICE_VERSION = "5.0.1"
maven_jar(
name = "guice-library",
artifact = "com.google.inject:guice:" + GUICE_VERSION,
sha1 = "0dae7556b441cada2b4f0a2314eb68e1ff423429",
)
maven_jar(
name = "guice-assistedinject",
artifact = "com.google.inject.extensions:guice-assistedinject:" + GUICE_VERSION,
sha1 = "62e02f2aceb7d90ba354584dacc018c1e94ff01c",
)
maven_jar(
name = "aopalliance",
artifact = "aopalliance:aopalliance:1.0",
sha1 = "0235ba8b489512805ac13a8f9ea77a1ca5ebe3e8",
)
maven_jar(
name = "javax-inject",
artifact = "javax.inject:javax.inject:1",
sha1 = "6975da39a7040257bd51d21a231b76c915872d38",
)
JETTY_VERSION = "9.4.36.v20210114"
maven_jar(
name = "servlet",
artifact = "org.eclipse.jetty:jetty-servlet:" + JETTY_VERSION,
sha1 = "b189e52a5ee55ae172e4e99e29c5c314f5daf4b9",
)
maven_jar(
name = "security",
artifact = "org.eclipse.jetty:jetty-security:" + JETTY_VERSION,
sha1 = "42030d6ed7dfc0f75818cde0adcf738efc477574",
)
maven_jar(
name = "server",
artifact = "org.eclipse.jetty:jetty-server:" + JETTY_VERSION,
sha1 = "88a7d342974aadca658e7386e8d0fcc5c0788f41",
)
maven_jar(
name = "continuation",
artifact = "org.eclipse.jetty:jetty-continuation:" + JETTY_VERSION,
sha1 = "84dcd3bc44258d6e2e552f59c77966c4ed252373",
)
maven_jar(
name = "http",
artifact = "org.eclipse.jetty:jetty-http:" + JETTY_VERSION,
sha1 = "1eee89a55e04ff94df0f85d95200fc48acb43d86",
)
maven_jar(
name = "io",
artifact = "org.eclipse.jetty:jetty-io:" + JETTY_VERSION,
sha1 = "84a8faf9031eb45a5a2ddb7681e22c483d81ab3a",
)
maven_jar(
name = "util",
artifact = "org.eclipse.jetty:jetty-util:" + JETTY_VERSION,
sha1 = "925257fbcca6b501a25252c7447dbedb021f7404",
)
OW2_VERS = "9.0"
maven_jar(
name = "ow2-asm",
artifact = "org.ow2.asm:asm:" + OW2_VERS,
sha1 = "af582ff60bc567c42d931500c3fdc20e0141ddf9",
)
maven_jar(
name = "ow2-asm-analysis",
artifact = "org.ow2.asm:asm-analysis:" + OW2_VERS,
sha1 = "4630afefbb43939c739445dde0af1a5729a0fb4e",
)
maven_jar(
name = "ow2-asm-commons",
artifact = "org.ow2.asm:asm-commons:" + OW2_VERS,
sha1 = "5a34a3a9ac44f362f35d1b27932380b0031a3334",
)
maven_jar(
name = "ow2-asm-tree",
artifact = "org.ow2.asm:asm-tree:" + OW2_VERS,
sha1 = "9df939f25c556b0c7efe00701d47e77a49837f24",
)
maven_jar(
name = "ow2-asm-util",
artifact = "org.ow2.asm:asm-util:" + OW2_VERS,
sha1 = "7c059a94ab5eed3347bf954e27fab58e52968848",
)