xref: /aosp_15_r20/external/antlr/WORKSPACE.bazel (revision 16467b971bd3e2009fad32dd79016f2c7e421deb)
1workspace(name = "antlr3")
2
3load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_jar")
4
5# This needs to be identical to the one used inhttps://github.com/antlr/stringtemplate4/blob/master/WORKSPACE.bazel.
6http_jar(
7    name = "antlr3_bootstrap",
8    sha256 = "46531814ba9739cdf20c6c1789c252d3d95b68932813d79fb8bbfdf8d5840417",
9    url = "http://www.antlr3.org/download/antlr-3.5.2-complete-no-st3.jar",
10)
11
12http_jar(
13    name = "junit",
14    sha256 = "8e495b634469d64fb8acfa3495a065cbacc8a0fff55ce1e31007be4c16dc57d3",
15    url = "https://repo1.maven.org/maven2/junit/junit/4.13.2/junit-4.13.2.jar",
16)
17
18http_jar(
19    name = "hamcrest_core",
20    sha256 = "66fdef91e9739348df7a096aa384a5685f4e875584cce89386a7a47251c4d8e9",
21    url = "https://repo1.maven.org/maven2/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar",
22)
23
24http_archive(
25    name = "stringtemplate4",
26    sha256 = "a91974e67013c1e68ef80794151dd66f04fc034cd3a9cf68af78867cd3067520",
27    strip_prefix = "stringtemplate4-139f34243e516fc9d2cc4db8eeaa825014d631cc",
28    url = "https://github.com/antlr/stringtemplate4/archive/139f34243e516fc9d2cc4db8eeaa825014d631cc.zip",
29)
30