| workspace(name = "gerrit") |
| |
| load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") |
| load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file") |
| load("//tools/bzl:maven_jar.bzl", "GERRIT", "MAVEN_LOCAL", "maven_jar") |
| load("//plugins:external_plugin_deps.bzl", "external_plugin_deps") |
| load("//tools:nongoogle.bzl", "declare_nongoogle_deps") |
| |
| http_archive( |
| name = "bazel_toolchains", |
| sha256 = "726b5423e1c7a3866a3a6d68e7123b4a955e9fcbe912a51e0f737e6dab1d0af2", |
| strip_prefix = "bazel-toolchains-3.1.0", |
| urls = [ |
| "https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/releases/download/3.1.0/bazel-toolchains-3.1.0.tar.gz", |
| "https://github.com/bazelbuild/bazel-toolchains/releases/download/3.1.0/bazel-toolchains-3.1.0.tar.gz", |
| ], |
| ) |
| |
| load("@bazel_toolchains//rules:rbe_repo.bzl", "rbe_autoconfig") |
| |
| # Creates a default toolchain config for RBE. |
| # Use this as is if you are using the rbe_ubuntu16_04 container, |
| # otherwise refer to RBE docs. |
| rbe_autoconfig(name = "rbe_default") |
| |
| # TODO(davido): Switch to upstream again, when this PR is merged: |
| # https://github.com/bazelbuild/rules_closure/pull/478 |
| http_archive( |
| name = "io_bazel_rules_closure", |
| sha256 = "b9c2bc6ba377aa497eb7c31681d34404febf9d4e3c9c7d98ce0d78238a0af20f", |
| strip_prefix = "rules_closure-0.31", |
| urls = [ |
| "https://github.com/davido/rules_closure/archive/V0.31.tar.gz", |
| "https://gerrit-ci.gerritforge.com/lib/V0.31.tar.gz", |
| ], |
| ) |
| |
| # File is specific to Polymer and copied from the Closure Github -- should be |
| # synced any time there are major changes to Polymer. |
| # https://github.com/google/closure-compiler/blob/master/contrib/externs/polymer-1.0.js |
| http_file( |
| name = "polymer_closure", |
| downloaded_file_path = "polymer_closure.js", |
| sha256 = "4d63a36dcca040475bd6deb815b9a600bd686e1413ac1ebd4b04516edd675020", |
| urls = ["https://raw.githubusercontent.com/google/closure-compiler/35d2b3340ff23a69441f10fa3bc820691c2942f2/contrib/externs/polymer-1.0.js"], |
| ) |
| |
| load("@io_bazel_rules_closure//closure:repositories.bzl", "rules_closure_dependencies", "rules_closure_toolchains") |
| |
| # Prevent redundant loading of dependencies. |
| # TODO(davido): Omit re-fetching ancient args4j version when these PRs are merged: |
| # https://github.com/bazelbuild/rules_closure/pull/262 |
| # https://github.com/google/closure-templates/pull/155 |
| rules_closure_dependencies( |
| omit_aopalliance = True, |
| omit_javax_inject = True, |
| omit_rules_cc = True, |
| ) |
| |
| rules_closure_toolchains() |
| |
| # This has to be done after loading of rules_closure, because it loads rules_java |
| load("//lib/codemirror:cm.bzl", "CM_VERSION", "DIFF_MATCH_PATCH_VERSION") |
| |
| # Golang support for PolyGerrit local dev server. |
| http_archive( |
| name = "io_bazel_rules_go", |
| sha256 = "f04d2373bcaf8aa09bccb08a98a57e721306c8f6043a2a0ee610fd6853dcde3d", |
| urls = [ |
| "https://storage.googleapis.com/bazel-mirror/github.com/bazelbuild/rules_go/releases/download/0.18.6/rules_go-0.18.6.tar.gz", |
| "https://github.com/bazelbuild/rules_go/releases/download/0.18.6/rules_go-0.18.6.tar.gz", |
| ], |
| ) |
| |
| load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") |
| |
| go_rules_dependencies() |
| |
| go_register_toolchains() |
| |
| http_archive( |
| name = "bazel_gazelle", |
| sha256 = "3c681998538231a2d24d0c07ed5a7658cb72bfb5fd4bf9911157c0e9ac6a2687", |
| urls = ["https://github.com/bazelbuild/bazel-gazelle/releases/download/0.17.0/bazel-gazelle-0.17.0.tar.gz"], |
| ) |
| |
| load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies", "go_repository") |
| |
| gazelle_dependencies() |
| |
| # Dependencies for PolyGerrit local dev server. |
| go_repository( |
| name = "com_github_robfig_soy", |
| commit = "82face14ebc0883b4ca9c901b5aaf3738b9f6a24", |
| importpath = "github.com/robfig/soy", |
| ) |
| |
| go_repository( |
| name = "com_github_howeyc_fsnotify", |
| commit = "441bbc86b167f3c1f4786afae9931403b99fdacf", |
| importpath = "github.com/howeyc/fsnotify", |
| ) |
| |
| ANTLR_VERS = "3.5.2" |
| |
| maven_jar( |
| name = "java-runtime", |
| artifact = "org.antlr:antlr-runtime:" + ANTLR_VERS, |
| sha1 = "cd9cd41361c155f3af0f653009dcecb08d8b4afd", |
| ) |
| |
| maven_jar( |
| name = "stringtemplate", |
| artifact = "org.antlr:stringtemplate:4.0.2", |
| sha1 = "e28e09e2d44d60506a7bcb004d6c23ff35c6ac08", |
| ) |
| |
| maven_jar( |
| name = "org-antlr", |
| artifact = "org.antlr:antlr:" + ANTLR_VERS, |
| sha1 = "c4a65c950bfc3e7d04309c515b2177c00baf7764", |
| ) |
| |
| maven_jar( |
| name = "antlr27", |
| artifact = "antlr:antlr:2.7.7", |
| attach_source = False, |
| sha1 = "83cd2cd674a217ade95a4bb83a8a14f351f48bd0", |
| ) |
| |
| GUICE_VERS = "4.2.3" |
| |
| GUICE_LIBRARY_SHA256 = "5168f5e7383f978c1b4154ac777b78edd8ac214bb9f9afdb92921c8d156483d3" |
| |
| http_file( |
| name = "guice-library-no-aop", |
| canonical_id = "guice-library-no-aop-" + GUICE_VERS + ".jar-" + GUICE_LIBRARY_SHA256, |
| downloaded_file_path = "guice-library-no-aop.jar", |
| sha256 = GUICE_LIBRARY_SHA256, |
| urls = [ |
| "https://repo1.maven.org/maven2/com/google/inject/guice/" + |
| GUICE_VERS + |
| "/guice-" + |
| GUICE_VERS + |
| "-no_aop.jar", |
| ], |
| ) |
| |
| maven_jar( |
| name = "guice-assistedinject", |
| artifact = "com.google.inject.extensions:guice-assistedinject:" + GUICE_VERS, |
| sha1 = "acbfddc556ee9496293ed1df250cc378f331d854", |
| ) |
| |
| maven_jar( |
| name = "guice-servlet", |
| artifact = "com.google.inject.extensions:guice-servlet:" + GUICE_VERS, |
| sha1 = "8d6e7e35eac4fb5e7df19c55b3bc23fa51b10a11", |
| ) |
| |
| maven_jar( |
| name = "javax_inject", |
| artifact = "javax.inject:javax.inject:1", |
| sha1 = "6975da39a7040257bd51d21a231b76c915872d38", |
| ) |
| |
| maven_jar( |
| name = "servlet-api-3_1", |
| artifact = "org.apache.tomcat:tomcat-servlet-api:8.5.23", |
| sha1 = "021a212688ec94fe77aff74ab34cc74f6f940e60", |
| ) |
| |
| GWT_VERS = "2.8.2" |
| |
| maven_jar( |
| name = "user", |
| artifact = "com.google.gwt:gwt-user:" + GWT_VERS, |
| sha1 = "a2b9be2c996a658c4e009ba652a9c6a81c88a797", |
| ) |
| |
| maven_jar( |
| name = "dev", |
| artifact = "com.google.gwt:gwt-dev:" + GWT_VERS, |
| sha1 = "7a87e060bbf129386b7ae772459fb9f87297c332", |
| ) |
| |
| maven_jar( |
| name = "javax-validation", |
| artifact = "javax.validation:validation-api:1.0.0.GA", |
| sha1 = "b6bd7f9d78f6fdaa3c37dae18a4bd298915f328e", |
| src_sha1 = "7a561191db2203550fbfa40d534d4997624cd369", |
| ) |
| |
| maven_jar( |
| name = "jsinterop-annotations", |
| artifact = "com.google.jsinterop:jsinterop-annotations:1.0.2", |
| sha1 = "abd7319f53d018e11108a88f599bd16492448dd2", |
| src_sha1 = "33716f8aef043f2f02b78ab4a1acda6cd90a7602", |
| ) |
| |
| maven_jar( |
| name = "ant", |
| artifact = "ant:ant:1.6.5", |
| attach_source = False, |
| sha1 = "7d18faf23df1a5c3a43613952e0e8a182664564b", |
| ) |
| |
| maven_jar( |
| name = "colt", |
| artifact = "colt:colt:1.2.0", |
| attach_source = False, |
| sha1 = "0abc984f3adc760684d49e0f11ddf167ba516d4f", |
| ) |
| |
| maven_jar( |
| name = "tapestry", |
| artifact = "tapestry:tapestry:4.0.2", |
| attach_source = False, |
| sha1 = "e855a807425d522e958cbce8697f21e9d679b1f7", |
| ) |
| |
| maven_jar( |
| name = "w3c-css-sac", |
| artifact = "org.w3c.css:sac:1.3", |
| sha1 = "cdb2dcb4e22b83d6b32b93095f644c3462739e82", |
| ) |
| |
| load("//lib/jgit:jgit.bzl", "jgit_repos") |
| |
| jgit_repos() |
| |
| maven_jar( |
| name = "javaewah", |
| artifact = "com.googlecode.javaewah:JavaEWAH:1.1.6", |
| attach_source = False, |
| sha1 = "94ad16d728b374d65bd897625f3fbb3da223a2b6", |
| ) |
| |
| FLOGGER_VERS = "0.4" |
| |
| maven_jar( |
| name = "flogger", |
| artifact = "com.google.flogger:flogger:" + FLOGGER_VERS, |
| sha1 = "9c8863dcc913b56291c0c88e6d4ca9715b43df98", |
| ) |
| |
| maven_jar( |
| name = "flogger-log4j-backend", |
| artifact = "com.google.flogger:flogger-log4j-backend:" + FLOGGER_VERS, |
| sha1 = "17aa5e31daa1354187e14b6978597d630391c028", |
| ) |
| |
| maven_jar( |
| name = "flogger-system-backend", |
| artifact = "com.google.flogger:flogger-system-backend:" + FLOGGER_VERS, |
| sha1 = "287b569d76abcd82f9de87fe41829fbc7ebd8ac9", |
| ) |
| |
| maven_jar( |
| name = "gwtjsonrpc", |
| artifact = "com.google.gerrit:gwtjsonrpc:1.12", |
| sha1 = "cade35e5628af56f687d651dd0f43d17d46b20f5", |
| src_sha1 = "e4c17ec9a453f4d41d5e0e55f7020e5919725b0d", |
| ) |
| |
| maven_jar( |
| name = "gson", |
| artifact = "com.google.code.gson:gson:2.8.5", |
| sha1 = "f645ed69d595b24d4cf8b3fbb64cc505bede8829", |
| ) |
| |
| maven_jar( |
| name = "gwtorm-client", |
| artifact = "com.google.gerrit:gwtorm:1.18", |
| sha1 = "f326dec463439a92ccb32f05b38345e21d0b5ecf", |
| src_sha1 = "e0b973d5cafef3d145fa80cdf032fcead1186d29", |
| ) |
| |
| load("//lib:guava.bzl", "GUAVA_BIN_SHA1", "GUAVA_VERSION") |
| |
| maven_jar( |
| name = "guava", |
| artifact = "com.google.guava:guava:" + GUAVA_VERSION, |
| sha1 = GUAVA_BIN_SHA1, |
| ) |
| |
| CAFFEINE_VERS = "2.8.0" |
| |
| maven_jar( |
| name = "caffeine", |
| artifact = "com.github.ben-manes.caffeine:caffeine:" + CAFFEINE_VERS, |
| sha1 = "6000774d7f8412ced005a704188ced78beeed2bb", |
| ) |
| |
| CAFFEINE_GUAVA_SHA256 = "3a66ee3ec70971dee0bae6e56bda7b8742bc4bedd7489161bfbbaaf7137d89e1" |
| |
| # TODO(davido): Rename guava.jar to caffeine-guava.jar on fetch to prevent potential |
| # naming collision between caffeine guava adapter and guava library itself. |
| # Remove this renaming procedure, once this upstream issue is fixed: |
| # https://github.com/ben-manes/caffeine/issues/364. |
| http_file( |
| name = "caffeine-guava-renamed", |
| canonical_id = "caffeine-guava-" + CAFFEINE_VERS + ".jar-" + CAFFEINE_GUAVA_SHA256, |
| downloaded_file_path = "caffeine-guava-" + CAFFEINE_VERS + ".jar", |
| sha256 = CAFFEINE_GUAVA_SHA256, |
| urls = [ |
| "https://repo1.maven.org/maven2/com/github/ben-manes/caffeine/guava/" + |
| CAFFEINE_VERS + |
| "/guava-" + |
| CAFFEINE_VERS + |
| ".jar", |
| ], |
| ) |
| |
| maven_jar( |
| name = "jsch", |
| artifact = "com.jcraft:jsch:0.1.54", |
| sha1 = "da3584329a263616e277e15462b387addd1b208d", |
| ) |
| |
| maven_jar( |
| name = "juniversalchardet", |
| artifact = "com.github.albfernandez:juniversalchardet:2.0.0", |
| sha1 = "28c59f58f5adcc307604602e2aa89e2aca14c554", |
| ) |
| |
| SLF4J_VERS = "1.7.26" |
| |
| maven_jar( |
| name = "log-api", |
| artifact = "org.slf4j:slf4j-api:" + SLF4J_VERS, |
| sha1 = "77100a62c2e6f04b53977b9f541044d7d722693d", |
| ) |
| |
| maven_jar( |
| name = "log-ext", |
| artifact = "org.slf4j:slf4j-ext:" + SLF4J_VERS, |
| sha1 = "31cdf122e000322e9efcb38913e9ab07825b17ef", |
| ) |
| |
| maven_jar( |
| name = "impl-log4j", |
| artifact = "org.slf4j:slf4j-log4j12:" + SLF4J_VERS, |
| sha1 = "12f5c685b71c3027fd28bcf90528ec4ec74bf818", |
| ) |
| |
| maven_jar( |
| name = "jcl-over-slf4j", |
| artifact = "org.slf4j:jcl-over-slf4j:" + SLF4J_VERS, |
| sha1 = "33fbc2d93de829fa5e263c5ce97f5eab8f57d53e", |
| ) |
| |
| maven_jar( |
| name = "log4j", |
| artifact = "log4j:log4j:1.2.17", |
| sha1 = "5af35056b4d257e4b64b9e8069c0746e8b08629f", |
| ) |
| |
| maven_jar( |
| name = "jsonevent-layout", |
| artifact = "net.logstash.log4j:jsonevent-layout:1.7", |
| sha1 = "507713504f0ddb75ba512f62763519c43cf46fde", |
| ) |
| |
| maven_jar( |
| name = "json-smart", |
| artifact = "net.minidev:json-smart:1.1.1", |
| sha1 = "24a2f903d25e004de30ac602c5b47f2d4e420a59", |
| ) |
| |
| maven_jar( |
| name = "args4j-intern", |
| artifact = "args4j:args4j:2.33", |
| sha1 = "bd87a75374a6d6523de82fef51fc3cfe9baf9fc9", |
| ) |
| |
| maven_jar( |
| name = "commons-codec", |
| artifact = "commons-codec:commons-codec:1.10", |
| sha1 = "4b95f4897fa13f2cd904aee711aeafc0c5295cd8", |
| ) |
| |
| # When upgrading commons-compress, also upgrade tukaani-xz |
| maven_jar( |
| name = "commons-compress", |
| artifact = "org.apache.commons:commons-compress:1.15", |
| sha1 = "b686cd04abaef1ea7bc5e143c080563668eec17e", |
| ) |
| |
| maven_jar( |
| name = "commons-lang", |
| artifact = "commons-lang:commons-lang:2.6", |
| sha1 = "0ce1edb914c94ebc388f086c6827e8bdeec71ac2", |
| ) |
| |
| maven_jar( |
| name = "commons-lang3", |
| artifact = "org.apache.commons:commons-lang3:3.6", |
| sha1 = "9d28a6b23650e8a7e9063c04588ace6cf7012c17", |
| ) |
| |
| maven_jar( |
| name = "commons-dbcp", |
| artifact = "commons-dbcp:commons-dbcp:1.4", |
| sha1 = "30be73c965cc990b153a100aaaaafcf239f82d39", |
| ) |
| |
| # Transitive dependency of commons-dbcp, do not update without |
| # also updating commons-dbcp |
| maven_jar( |
| name = "commons-pool", |
| artifact = "commons-pool:commons-pool:1.5.5", |
| sha1 = "7d8ffbdc47aa0c5a8afe5dc2aaf512f369f1d19b", |
| ) |
| |
| maven_jar( |
| name = "commons-net", |
| artifact = "commons-net:commons-net:3.6", |
| sha1 = "b71de00508dcb078d2b24b5fa7e538636de9b3da", |
| ) |
| |
| maven_jar( |
| name = "commons-validator", |
| artifact = "commons-validator:commons-validator:1.6", |
| sha1 = "e989d1e87cdd60575df0765ed5bac65c905d7908", |
| ) |
| |
| maven_jar( |
| name = "automaton", |
| artifact = "dk.brics:automaton:1.12-1", |
| sha1 = "959a0c62f9a5c2309e0ad0b0589c74d69e101241", |
| ) |
| |
| FLEXMARK_VERS = "0.34.18" |
| |
| maven_jar( |
| name = "flexmark", |
| artifact = "com.vladsch.flexmark:flexmark:" + FLEXMARK_VERS, |
| sha1 = "65cc1489ef8902023140900a3a7fcce89fba678d", |
| ) |
| |
| maven_jar( |
| name = "flexmark-ext-abbreviation", |
| artifact = "com.vladsch.flexmark:flexmark-ext-abbreviation:" + FLEXMARK_VERS, |
| sha1 = "a0384932801e51f16499358dec69a730739aca3f", |
| ) |
| |
| maven_jar( |
| name = "flexmark-ext-anchorlink", |
| artifact = "com.vladsch.flexmark:flexmark-ext-anchorlink:" + FLEXMARK_VERS, |
| sha1 = "6df2e23b5c94a5e46b1956a29179eb783f84ea2f", |
| ) |
| |
| maven_jar( |
| name = "flexmark-ext-autolink", |
| artifact = "com.vladsch.flexmark:flexmark-ext-autolink:" + FLEXMARK_VERS, |
| sha1 = "069f8ff15e5b435cc96b23f31798ce64a7a3f6d3", |
| ) |
| |
| maven_jar( |
| name = "flexmark-ext-definition", |
| artifact = "com.vladsch.flexmark:flexmark-ext-definition:" + FLEXMARK_VERS, |
| sha1 = "ff177d8970810c05549171e3ce189e2c68b906c0", |
| ) |
| |
| maven_jar( |
| name = "flexmark-ext-emoji", |
| artifact = "com.vladsch.flexmark:flexmark-ext-emoji:" + FLEXMARK_VERS, |
| sha1 = "410bf7d8e5b8bc2c4a8cff644d1b2bc7b271a41e", |
| ) |
| |
| maven_jar( |
| name = "flexmark-ext-escaped-character", |
| artifact = "com.vladsch.flexmark:flexmark-ext-escaped-character:" + FLEXMARK_VERS, |
| sha1 = "6f4fb89311b54284a6175341d4a5e280f13b2179", |
| ) |
| |
| maven_jar( |
| name = "flexmark-ext-footnotes", |
| artifact = "com.vladsch.flexmark:flexmark-ext-footnotes:" + FLEXMARK_VERS, |
| sha1 = "35efe7d9aea97b6f36e09c65f748863d14e1cfe4", |
| ) |
| |
| maven_jar( |
| name = "flexmark-ext-gfm-issues", |
| artifact = "com.vladsch.flexmark:flexmark-ext-gfm-issues:" + FLEXMARK_VERS, |
| sha1 = "ec1d660102f6a1d0fbe5e57c13b7ff8bae6cff72", |
| ) |
| |
| maven_jar( |
| name = "flexmark-ext-gfm-strikethrough", |
| artifact = "com.vladsch.flexmark:flexmark-ext-gfm-strikethrough:" + FLEXMARK_VERS, |
| sha1 = "6060442b742c9b6d4d83d7dd4f0fe477c4686dd2", |
| ) |
| |
| maven_jar( |
| name = "flexmark-ext-gfm-tables", |
| artifact = "com.vladsch.flexmark:flexmark-ext-gfm-tables:" + FLEXMARK_VERS, |
| sha1 = "2fe597849e46e02e0c1ea1d472848f74ff261282", |
| ) |
| |
| maven_jar( |
| name = "flexmark-ext-gfm-tasklist", |
| artifact = "com.vladsch.flexmark:flexmark-ext-gfm-tasklist:" + FLEXMARK_VERS, |
| sha1 = "b3af19ce4efdc980a066c1bf0f5a6cf8c24c487a", |
| ) |
| |
| maven_jar( |
| name = "flexmark-ext-gfm-users", |
| artifact = "com.vladsch.flexmark:flexmark-ext-gfm-users:" + FLEXMARK_VERS, |
| sha1 = "7456c5f7272c195ee953a02ebab4f58374fb23ee", |
| ) |
| |
| maven_jar( |
| name = "flexmark-ext-ins", |
| artifact = "com.vladsch.flexmark:flexmark-ext-ins:" + FLEXMARK_VERS, |
| sha1 = "13fe1a95a8f3be30b574451cfe8d3d5936fa3e94", |
| ) |
| |
| maven_jar( |
| name = "flexmark-ext-jekyll-front-matter", |
| artifact = "com.vladsch.flexmark:flexmark-ext-jekyll-front-matter:" + FLEXMARK_VERS, |
| sha1 = "e146e2bf3a740d6ef06a33a516c4d1f6d3761109", |
| ) |
| |
| maven_jar( |
| name = "flexmark-ext-superscript", |
| artifact = "com.vladsch.flexmark:flexmark-ext-superscript:" + FLEXMARK_VERS, |
| sha1 = "02541211e8e4a6c89ce0a68b07b656d8a19ac282", |
| ) |
| |
| maven_jar( |
| name = "flexmark-ext-tables", |
| artifact = "com.vladsch.flexmark:flexmark-ext-tables:" + FLEXMARK_VERS, |
| sha1 = "775d9587de71fd50573f32eee98ab039b4dcc219", |
| ) |
| |
| maven_jar( |
| name = "flexmark-ext-toc", |
| artifact = "com.vladsch.flexmark:flexmark-ext-toc:" + FLEXMARK_VERS, |
| sha1 = "85b75fe1ebe24c92b9d137bcbc51d232845b6077", |
| ) |
| |
| maven_jar( |
| name = "flexmark-ext-typographic", |
| artifact = "com.vladsch.flexmark:flexmark-ext-typographic:" + FLEXMARK_VERS, |
| sha1 = "c1bf0539de37d83aa05954b442f929e204cd89db", |
| ) |
| |
| maven_jar( |
| name = "flexmark-ext-wikilink", |
| artifact = "com.vladsch.flexmark:flexmark-ext-wikilink:" + FLEXMARK_VERS, |
| sha1 = "400b23b9a4e0c008af0d779f909ee357628be39d", |
| ) |
| |
| maven_jar( |
| name = "flexmark-ext-yaml-front-matter", |
| artifact = "com.vladsch.flexmark:flexmark-ext-yaml-front-matter:" + FLEXMARK_VERS, |
| sha1 = "491f815285a8e16db1e906f3789a94a8a9836fa6", |
| ) |
| |
| maven_jar( |
| name = "flexmark-formatter", |
| artifact = "com.vladsch.flexmark:flexmark-formatter:" + FLEXMARK_VERS, |
| sha1 = "d46308006800d243727100ca0f17e6837070fd48", |
| ) |
| |
| maven_jar( |
| name = "flexmark-html-parser", |
| artifact = "com.vladsch.flexmark:flexmark-html-parser:" + FLEXMARK_VERS, |
| sha1 = "fece2e646d11b6a77fc611b4bd3eb1fb8a635c87", |
| ) |
| |
| maven_jar( |
| name = "flexmark-profile-pegdown", |
| artifact = "com.vladsch.flexmark:flexmark-profile-pegdown:" + FLEXMARK_VERS, |
| sha1 = "297f723bb51286eaa7029558fac87d819643d577", |
| ) |
| |
| maven_jar( |
| name = "flexmark-util", |
| artifact = "com.vladsch.flexmark:flexmark-util:" + FLEXMARK_VERS, |
| sha1 = "31e2e1fbe8273d7c913506eafeb06b1a7badb062", |
| ) |
| |
| # Transitive dependency of flexmark |
| maven_jar( |
| name = "autolink", |
| artifact = "org.nibor.autolink:autolink:0.7.0", |
| sha1 = "649f9f13422cf50c926febe6035662ae25dc89b2", |
| ) |
| |
| GREENMAIL_VERS = "1.5.5" |
| |
| maven_jar( |
| name = "greenmail", |
| artifact = "com.icegreen:greenmail:" + GREENMAIL_VERS, |
| sha1 = "9ea96384ad2cb8118c22f493b529eb72c212691c", |
| ) |
| |
| MAIL_VERS = "1.6.0" |
| |
| maven_jar( |
| name = "mail", |
| artifact = "com.sun.mail:javax.mail:" + MAIL_VERS, |
| sha1 = "a055c648842c4954c1f7db7254f45d9ad565e278", |
| ) |
| |
| MIME4J_VERS = "0.8.1" |
| |
| maven_jar( |
| name = "mime4j-core", |
| artifact = "org.apache.james:apache-mime4j-core:" + MIME4J_VERS, |
| sha1 = "c62dfe18a3b827a2c626ade0ffba44562ddf3f61", |
| ) |
| |
| maven_jar( |
| name = "mime4j-dom", |
| artifact = "org.apache.james:apache-mime4j-dom:" + MIME4J_VERS, |
| sha1 = "f2d653c617004193f3350330d907f77b60c88c56", |
| ) |
| |
| maven_jar( |
| name = "jsoup", |
| artifact = "org.jsoup:jsoup:1.9.2", |
| sha1 = "5e3bda828a80c7a21dfbe2308d1755759c2fd7b4", |
| ) |
| |
| OW2_VERS = "7.2" |
| |
| maven_jar( |
| name = "ow2-asm", |
| artifact = "org.ow2.asm:asm:" + OW2_VERS, |
| sha1 = "fa637eb67eb7628c915d73762b681ae7ff0b9731", |
| ) |
| |
| maven_jar( |
| name = "ow2-asm-analysis", |
| artifact = "org.ow2.asm:asm-analysis:" + OW2_VERS, |
| sha1 = "b6e6abe057f23630113f4167c34bda7086691258", |
| ) |
| |
| maven_jar( |
| name = "ow2-asm-commons", |
| artifact = "org.ow2.asm:asm-commons:" + OW2_VERS, |
| sha1 = "ca2954e8d92a05bacc28ff465b25c70e0f512497", |
| ) |
| |
| maven_jar( |
| name = "ow2-asm-tree", |
| artifact = "org.ow2.asm:asm-tree:" + OW2_VERS, |
| sha1 = "3a23cc36edaf8fc5a89cb100182758ccb5991487", |
| ) |
| |
| maven_jar( |
| name = "ow2-asm-util", |
| artifact = "org.ow2.asm:asm-util:" + OW2_VERS, |
| sha1 = "a3ae34e57fa8a4040e28247291d0cc3d6b8c7bcf", |
| ) |
| |
| AUTO_VALUE_VERSION = "1.6.2" |
| |
| maven_jar( |
| name = "auto-value", |
| artifact = "com.google.auto.value:auto-value:" + AUTO_VALUE_VERSION, |
| sha1 = "e7eae562942315a983eea3e191b72d755c153620", |
| ) |
| |
| maven_jar( |
| name = "auto-value-annotations", |
| artifact = "com.google.auto.value:auto-value-annotations:" + AUTO_VALUE_VERSION, |
| sha1 = "ed193d86e0af90cc2342aedbe73c5d86b03fa09b", |
| ) |
| |
| declare_nongoogle_deps() |
| |
| LUCENE_VERS = "6.6.5" |
| |
| maven_jar( |
| name = "lucene-core", |
| artifact = "org.apache.lucene:lucene-core:" + LUCENE_VERS, |
| sha1 = "2983f80b1037e098209657b0ca9176827892d0c0", |
| ) |
| |
| maven_jar( |
| name = "lucene-analyzers-common", |
| artifact = "org.apache.lucene:lucene-analyzers-common:" + LUCENE_VERS, |
| sha1 = "6094f91071d90570b7f5f8ce481d5de7d2d2e9d5", |
| ) |
| |
| maven_jar( |
| name = "backward-codecs", |
| artifact = "org.apache.lucene:lucene-backward-codecs:" + LUCENE_VERS, |
| sha1 = "460a19e8d1aa7d31e9614cf528a6cb508c9e823d", |
| ) |
| |
| maven_jar( |
| name = "lucene-misc", |
| artifact = "org.apache.lucene:lucene-misc:" + LUCENE_VERS, |
| sha1 = "ce3a1b7b6a92b9af30791356a4bd46d1cea6cc1e", |
| ) |
| |
| maven_jar( |
| name = "lucene-queryparser", |
| artifact = "org.apache.lucene:lucene-queryparser:" + LUCENE_VERS, |
| sha1 = "2db9ca0086a4b8e0b9bc9f08a9b420303168e37c", |
| ) |
| |
| maven_jar( |
| name = "mime-util", |
| artifact = "eu.medsea.mimeutil:mime-util:2.1.3", |
| attach_source = False, |
| sha1 = "0c9cfae15c74f62491d4f28def0dff1dabe52a47", |
| ) |
| |
| PROLOG_VERS = "1.4.3" |
| |
| PROLOG_REPO = GERRIT |
| |
| maven_jar( |
| name = "prolog-runtime", |
| artifact = "com.googlecode.prolog-cafe:prolog-runtime:" + PROLOG_VERS, |
| attach_source = False, |
| repository = PROLOG_REPO, |
| sha1 = "d5206556cbc76ffeab21313ffc47b586a1efbcbb", |
| ) |
| |
| maven_jar( |
| name = "prolog-compiler", |
| artifact = "com.googlecode.prolog-cafe:prolog-compiler:" + PROLOG_VERS, |
| attach_source = False, |
| repository = PROLOG_REPO, |
| sha1 = "f37032cf1dec3e064427745bc59da5a12757a3b2", |
| ) |
| |
| maven_jar( |
| name = "prolog-io", |
| artifact = "com.googlecode.prolog-cafe:prolog-io:" + PROLOG_VERS, |
| attach_source = False, |
| repository = PROLOG_REPO, |
| sha1 = "d02b2640b26f64036b6ba2b45e4acc79281cea17", |
| ) |
| |
| maven_jar( |
| name = "cafeteria", |
| artifact = "com.googlecode.prolog-cafe:prolog-cafeteria:" + PROLOG_VERS, |
| attach_source = False, |
| repository = PROLOG_REPO, |
| sha1 = "e3b1860c63e57265e5435f890263ad82dafa724f", |
| ) |
| |
| maven_jar( |
| name = "guava-retrying", |
| artifact = "com.github.rholder:guava-retrying:2.0.0", |
| sha1 = "974bc0a04a11cc4806f7c20a34703bd23c34e7f4", |
| ) |
| |
| maven_jar( |
| name = "jsr305", |
| artifact = "com.google.code.findbugs:jsr305:3.0.1", |
| sha1 = "f7be08ec23c21485b9b5a1cf1654c2ec8c58168d", |
| ) |
| |
| maven_jar( |
| name = "blame-cache", |
| artifact = "com/google/gitiles:blame-cache:0.2-7.1", |
| attach_source = False, |
| repository = GERRIT, |
| sha1 = "73915991bb7472a730102ab01ca68776a52466fd", |
| ) |
| |
| # Keep this version of Soy synchronized with the version used in Gitiles. |
| maven_jar( |
| name = "soy", |
| artifact = "com.google.template:soy:2018-03-14", |
| sha1 = "76a1322705ba5a6d6329ee26e7387417725ce4b3", |
| ) |
| |
| maven_jar( |
| name = "html-types", |
| artifact = "com.google.common.html.types:types:1.0.4", |
| sha1 = "2adf4c8bfccc0ff7346f9186ac5aa57d829ad065", |
| ) |
| |
| maven_jar( |
| name = "icu4j", |
| artifact = "com.ibm.icu:icu4j:57.1", |
| sha1 = "198ea005f41219f038f4291f0b0e9f3259730e92", |
| ) |
| |
| # When updating Bouncy Castle, also update it in bazlets. |
| BC_VERS = "1.60" |
| |
| maven_jar( |
| name = "bcprov", |
| artifact = "org.bouncycastle:bcprov-jdk15on:" + BC_VERS, |
| sha1 = "bd47ad3bd14b8e82595c7adaa143501e60842a84", |
| ) |
| |
| maven_jar( |
| name = "bcpg", |
| artifact = "org.bouncycastle:bcpg-jdk15on:" + BC_VERS, |
| sha1 = "13c7a199c484127daad298996e95818478431a2c", |
| ) |
| |
| maven_jar( |
| name = "bcpkix", |
| artifact = "org.bouncycastle:bcpkix-jdk15on:" + BC_VERS, |
| sha1 = "d0c46320fbc07be3a24eb13a56cee4e3d38e0c75", |
| ) |
| |
| maven_jar( |
| name = "h2", |
| artifact = "com.h2database:h2:1.3.176", |
| sha1 = "fd369423346b2f1525c413e33f8cf95b09c92cbd", |
| ) |
| |
| # Note that all of the following org.apache.httpcomponents have newer versions, |
| # but 4.4.1 is the only version that is available for all of them. |
| # TODO: Check what combination of new versions are compatible. |
| HTTPCOMP_VERS = "4.4.1" |
| |
| maven_jar( |
| name = "fluent-hc", |
| artifact = "org.apache.httpcomponents:fluent-hc:" + HTTPCOMP_VERS, |
| sha1 = "96fb842b68a44cc640c661186828b60590c71261", |
| ) |
| |
| maven_jar( |
| name = "httpclient", |
| artifact = "org.apache.httpcomponents:httpclient:" + HTTPCOMP_VERS, |
| sha1 = "016d0bc512222f1253ee6b64d389c84e22f697f0", |
| ) |
| |
| maven_jar( |
| name = "httpcore", |
| artifact = "org.apache.httpcomponents:httpcore:" + HTTPCOMP_VERS, |
| sha1 = "f5aa318bda4c6c8d688c9d00b90681dcd82ce636", |
| ) |
| |
| # Test-only dependencies below. |
| |
| maven_jar( |
| name = "jimfs", |
| artifact = "com.google.jimfs:jimfs:1.1", |
| sha1 = "8fbd0579dc68aba6186935cc1bee21d2f3e7ec1c", |
| ) |
| |
| maven_jar( |
| name = "junit", |
| artifact = "junit:junit:4.12", |
| sha1 = "2973d150c0dc1fefe998f834810d68f278ea58ec", |
| ) |
| |
| maven_jar( |
| name = "hamcrest-core", |
| artifact = "org.hamcrest:hamcrest-core:1.3", |
| sha1 = "42a25dc3219429f0e5d060061f71acb49bf010a0", |
| ) |
| |
| TRUTH_VERS = "0.42" |
| |
| maven_jar( |
| name = "truth", |
| artifact = "com.google.truth:truth:" + TRUTH_VERS, |
| sha1 = "b5768f644b114e6cf5c3962c2ebcb072f788dcbb", |
| ) |
| |
| maven_jar( |
| name = "truth-java8-extension", |
| artifact = "com.google.truth.extensions:truth-java8-extension:" + TRUTH_VERS, |
| sha1 = "4d01dfa5b3780632a3d109e14e101f01d10cce2c", |
| ) |
| |
| maven_jar( |
| name = "truth-liteproto-extension", |
| artifact = "com.google.truth.extensions:truth-liteproto-extension:" + TRUTH_VERS, |
| sha1 = "c231e6735aa6c133c7e411ae1c1c90b124900a8b", |
| ) |
| |
| maven_jar( |
| name = "truth-proto-extension", |
| artifact = "com.google.truth.extensions:truth-proto-extension:" + TRUTH_VERS, |
| sha1 = "c41d22e8b4a61b4171e57c44a2959ebee0091a14", |
| ) |
| |
| maven_jar( |
| name = "diffutils", |
| artifact = "com.googlecode.java-diff-utils:diffutils:1.3.0", |
| sha1 = "7e060dd5b19431e6d198e91ff670644372f60fbd", |
| ) |
| |
| # When bumping the easymock version number, make sure to also move powermock to a compatible version |
| maven_jar( |
| name = "easymock", |
| artifact = "org.easymock:easymock:3.1", |
| sha1 = "3e127311a86fc2e8f550ef8ee4abe094bbcf7e7e", |
| ) |
| |
| maven_jar( |
| name = "derby", |
| artifact = "org.apache.derby:derby:10.12.1.1", |
| attach_source = False, |
| sha1 = "75070c744a8e52a7d17b8b476468580309d5cd09", |
| ) |
| |
| JETTY_VERS = "9.4.30.v20200611" |
| |
| maven_jar( |
| name = "jetty-servlet", |
| artifact = "org.eclipse.jetty:jetty-servlet:" + JETTY_VERS, |
| sha1 = "ca3dea2cd34ee88cec017001603af0c9e74781d6", |
| ) |
| |
| maven_jar( |
| name = "jetty-security", |
| artifact = "org.eclipse.jetty:jetty-security:" + JETTY_VERS, |
| sha1 = "1a5261f6ad4081ad9e9bb01416d639931d391273", |
| ) |
| |
| maven_jar( |
| name = "jetty-servlets", |
| artifact = "org.eclipse.jetty:jetty-servlets:" + JETTY_VERS, |
| sha1 = "3404a59996afbecd05d2504b07a765304546af07", |
| ) |
| |
| maven_jar( |
| name = "jetty-server", |
| artifact = "org.eclipse.jetty:jetty-server:" + JETTY_VERS, |
| sha1 = "e5ede3724d062717d0c04e4c77f74fe8115c2a6f", |
| ) |
| |
| maven_jar( |
| name = "jetty-jmx", |
| artifact = "org.eclipse.jetty:jetty-jmx:" + JETTY_VERS, |
| sha1 = "653559eaec0f9a335a0d12e90bc764b28f341241", |
| ) |
| |
| maven_jar( |
| name = "jetty-continuation", |
| artifact = "org.eclipse.jetty:jetty-continuation:" + JETTY_VERS, |
| sha1 = "2a9cd8c4cf392a7697a57665e7b0caf5bce4cd48", |
| ) |
| |
| maven_jar( |
| name = "jetty-http", |
| artifact = "org.eclipse.jetty:jetty-http:" + JETTY_VERS, |
| sha1 = "cd6223382e4f82b9ea807d8cdb04a23e5d629f1c", |
| ) |
| |
| maven_jar( |
| name = "jetty-io", |
| artifact = "org.eclipse.jetty:jetty-io:" + JETTY_VERS, |
| sha1 = "9c360d08e903b2dbd5d1f8e889a32046948628ce", |
| ) |
| |
| maven_jar( |
| name = "jetty-util", |
| artifact = "org.eclipse.jetty:jetty-util:" + JETTY_VERS, |
| sha1 = "39ec6aa4745952077f5407cb1394d8ba2db88b13", |
| ) |
| |
| maven_jar( |
| name = "postgresql", |
| artifact = "org.postgresql:postgresql:42.2.5", |
| sha1 = "951b7eda125f3137538a94e2cbdcf744088ad4c2", |
| ) |
| |
| maven_jar( |
| name = "codemirror-minified-gwt", |
| artifact = "org.webjars.npm:codemirror-minified:" + CM_VERSION, |
| sha1 = "36558ea3b8e30782e1e09c0e7bd781e09614f139", |
| ) |
| |
| maven_jar( |
| name = "codemirror-original-gwt", |
| artifact = "org.webjars.npm:codemirror:" + CM_VERSION, |
| sha1 = "f1f8fbbc3e2d224fdccc43d2f4180658a92320f9", |
| ) |
| |
| maven_jar( |
| name = "diff-match-patch", |
| artifact = "org.webjars:google-diff-match-patch:" + DIFF_MATCH_PATCH_VERSION, |
| attach_source = False, |
| sha1 = "0cf1782dbcb8359d95070da9176059a5a9d37709", |
| ) |
| |
| maven_jar( |
| name = "commons-io", |
| artifact = "commons-io:commons-io:2.2", |
| sha1 = "83b5b8a7ba1c08f9e8c8ff2373724e33d3c1e22a", |
| ) |
| |
| maven_jar( |
| name = "asciidoctor", |
| artifact = "org.asciidoctor:asciidoctorj:1.5.7", |
| sha1 = "8e8c1d8fc6144405700dd8df3b177f2801ac5987", |
| ) |
| |
| maven_jar( |
| name = "javax-activation", |
| artifact = "javax.activation:activation:1.1.1", |
| sha1 = "485de3a253e23f645037828c07f1d7f1af40763a", |
| ) |
| |
| load("//tools/bzl:js.bzl", "bower_archive", "npm_binary") |
| |
| # NPM binaries bundled along with their dependencies. |
| # |
| # For full instructions on adding new binaries to the build, see |
| # http://gerrit-review.googlesource.com/Documentation/dev-bazel.html#npm-binary |
| npm_binary( |
| name = "bower", |
| ) |
| |
| npm_binary( |
| name = "polymer-bundler", |
| repository = GERRIT, |
| ) |
| |
| npm_binary( |
| name = "crisper", |
| repository = GERRIT, |
| ) |
| |
| # bower_archive() seed components. |
| bower_archive( |
| name = "iron-autogrow-textarea", |
| package = "polymerelements/iron-autogrow-textarea", |
| sha1 = "68f0ece9b1e56ac26f8ce31d9938c504f6951bca", |
| version = "2.1.0", |
| ) |
| |
| bower_archive( |
| name = "es6-promise", |
| package = "stefanpenner/es6-promise", |
| sha1 = "a3a797bb22132f1ef75f9a2556173f81870c2e53", |
| version = "3.3.0", |
| ) |
| |
| bower_archive( |
| name = "fetch", |
| package = "fetch", |
| sha1 = "1b05a2bb40c73232c2909dc196de7519fe4db7a9", |
| version = "1.0.0", |
| ) |
| |
| bower_archive( |
| name = "iron-dropdown", |
| package = "polymerelements/iron-dropdown", |
| sha1 = "ac96fe31cdf203a63426fa75131b43c98c0597d3", |
| version = "1.5.5", |
| ) |
| |
| bower_archive( |
| name = "iron-input", |
| package = "polymerelements/iron-input", |
| sha1 = "9bc0c8e81de2527125383cbcf74dd9f27e7fa9ac", |
| version = "1.0.10", |
| ) |
| |
| bower_archive( |
| name = "iron-overlay-behavior", |
| package = "polymerelements/iron-overlay-behavior", |
| sha1 = "74cda9d7bf98e7a5e5004bc7ebdb6d208d49e11e", |
| version = "2.0.0", |
| ) |
| |
| bower_archive( |
| name = "iron-selector", |
| package = "polymerelements/iron-selector", |
| sha1 = "e0ee46c28523bf17730318c3b481a8ed4331c3b2", |
| version = "2.0.0", |
| ) |
| |
| bower_archive( |
| name = "paper-button", |
| package = "polymerelements/paper-button", |
| sha1 = "3b01774f58a8085d3c903fc5a32944b26ab7be72", |
| version = "2.0.0", |
| ) |
| |
| bower_archive( |
| name = "paper-input", |
| package = "polymerelements/paper-input", |
| sha1 = "6c934805e80ab201e143406edc73ea0ef35abf80", |
| version = "1.1.18", |
| ) |
| |
| bower_archive( |
| name = "paper-tabs", |
| package = "polymerelements/paper-tabs", |
| sha1 = "b6dd2fbd7ee887534334057a29eb545b940fc5cf", |
| version = "2.0.0", |
| ) |
| |
| bower_archive( |
| name = "iron-icon", |
| package = "polymerelements/iron-icon", |
| sha1 = "7da49a0d33cd56017740e0dbcf41d2b71532023f", |
| version = "2.0.0", |
| ) |
| |
| bower_archive( |
| name = "iron-iconset-svg", |
| package = "polymerelements/iron-iconset-svg", |
| sha1 = "4d0c406239cad2ff2975c6dd95fa189de0fe6b50", |
| version = "2.1.0", |
| ) |
| |
| bower_archive( |
| name = "moment", |
| package = "moment/moment", |
| sha1 = "fc8ce2c799bab21f6ced7aff928244f4ca8880aa", |
| version = "2.13.0", |
| ) |
| |
| bower_archive( |
| name = "page", |
| package = "visionmedia/page.js", |
| sha1 = "51a05428dd4f68fae1df5f12d0e2b61ba67f7757", |
| version = "1.7.1", |
| ) |
| |
| bower_archive( |
| name = "paper-item", |
| package = "polymerelements/paper-item", |
| sha1 = "803273ceb9ffebec8ecc9373ea638af4cd34af58", |
| version = "1.1.4", |
| ) |
| |
| bower_archive( |
| name = "paper-listbox", |
| package = "polymerelements/paper-listbox", |
| sha1 = "ccc1a90ab0a96878c7bf7c9c4cfe47c85b09c8e3", |
| version = "2.0.0", |
| ) |
| |
| bower_archive( |
| name = "paper-toggle-button", |
| package = "polymerelements/paper-toggle-button", |
| sha1 = "4a2edbdb52c4531d39fe091f12de650bccda270f", |
| version = "1.2.0", |
| ) |
| |
| bower_archive( |
| name = "polymer", |
| package = "polymer/polymer", |
| sha1 = "158443ab05ade5e2cdc24ebc01f1deef9aebac1b", |
| version = "1.11.3", |
| ) |
| |
| bower_archive( |
| name = "polymer-resin", |
| package = "polymer/polymer-resin", |
| sha1 = "94c29926c20ea3a9b636f26b3e0d689ead8137e5", |
| version = "2.0.1", |
| ) |
| |
| bower_archive( |
| name = "promise-polyfill", |
| package = "polymerlabs/promise-polyfill", |
| sha1 = "a3b598c06cbd7f441402e666ff748326030905d6", |
| version = "1.0.0", |
| ) |
| |
| bower_archive( |
| name = "resemblejs", |
| package = "rsmbl/Resemble.js", |
| sha1 = "49d5f022417c389b630d6f7ee667aa9540075c42", |
| version = "2.10.1", |
| ) |
| |
| bower_archive( |
| name = "codemirror-minified", |
| package = "Dominator008/codemirror-minified", |
| sha1 = "1524e19087d8223edfe4a5b1ccf04c1e3707235d", |
| version = "5.37.0", |
| ) |
| |
| # bower test stuff |
| |
| bower_archive( |
| name = "iron-test-helpers", |
| package = "polymerelements/iron-test-helpers", |
| sha1 = "433b03b106f5ff32049b84150cd70938e18b67ac", |
| version = "1.2.5", |
| ) |
| |
| bower_archive( |
| name = "test-fixture", |
| package = "polymerelements/test-fixture", |
| sha1 = "e373bd21c069163c3a754e234d52c07c77b20d3c", |
| version = "1.1.1", |
| ) |
| |
| bower_archive( |
| name = "web-component-tester", |
| package = "polymer/web-component-tester", |
| sha1 = "d84f6a13bde5f8fd39ee208d43f33925410530d7", |
| version = "6.5.1", |
| ) |
| |
| # Bower component transitive dependencies. |
| load("//lib/js:bower_archives.bzl", "load_bower_archives") |
| |
| load_bower_archives() |
| |
| external_plugin_deps() |