forked from jflex-de/jflex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
73 lines (53 loc) · 2.06 KB
/
WORKSPACE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# Workspace file for the Bazel build system
# https://bazel.build/
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
RULES_JVM_EXTERNAL_TAG = "2.10"
RULES_JVM_EXTERNAL_SHA = "1bbf2e48d07686707dd85357e9a94da775e1dbd7c464272b3664283c9c716d26"
http_archive(
name = "jflex_rules",
sha256 = "bd41584dd1d9d99ef72909b3c1af8ba301a89c1d8fdc59becab5d2db1d006455",
strip_prefix = "bazel_rules-1.8.2",
url = "https://github.com/jflex-de/bazel_rules/archive/v1.8.2.tar.gz",
)
load("@jflex_rules//jflex:deps.bzl", "JFLEX_ARTIFACTS")
# pandoc used to build the documentation
git_repository(
name = "bazel_pandoc",
commit = "68bcf3fb4dd1892e040f0986636805c7186c82ae",
remote = "https://github.com/ProdriveTechnologies/bazel-pandoc.git",
)
load("@bazel_pandoc//:repositories.bzl", "pandoc_repositories")
pandoc_repositories()
# latex rule to build PDF from tex files
http_archive(
name = "bazel_latex",
strip_prefix = "bazel-latex-1.0",
url = "https://github.com/ProdriveTechnologies/bazel-latex/archive/v1.0.tar.gz",
)
load("@bazel_latex//:repositories.bzl", "latex_repositories")
latex_repositories()
# Third-party dependencies
load("//third_party:deps.bzl", "ARTIFACTS")
http_archive(
name = "rules_jvm_external",
sha256 = RULES_JVM_EXTERNAL_SHA,
strip_prefix = "rules_jvm_external-%s" % RULES_JVM_EXTERNAL_TAG,
url = "https://github.com/bazelbuild/rules_jvm_external/archive/%s.zip" % RULES_JVM_EXTERNAL_TAG,
)
load("@rules_jvm_external//:defs.bzl", "maven_install")
maven_install(
name = "maven",
artifacts = ARTIFACTS + JFLEX_ARTIFACTS,
maven_install_json = "//third_party:maven_install.json",
repositories = [
"https://jcenter.bintray.com/",
"https://maven.google.com",
"https://repo1.maven.org/maven2",
],
)
load("@maven//:defs.bzl", "pinned_maven_install")
pinned_maven_install()
# Unicode character definitions (UCD) from Unicode.org
load("//third_party/unicode:unicode.bzl", "unicode_deps")
unicode_deps()