forked from griffinbank/rules_clojure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
54 lines (48 loc) · 1.32 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
workspace(name = "custom")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_jvm_external",
sha256 = "d85951a92c0908c80bd8551002d66cb23c3434409c814179c0ff026b53544dab",
strip_prefix = "rules_jvm_external-3.3",
url = "https://github.com/bazelbuild/rules_jvm_external/archive/3.3.zip",
)
load("@rules_jvm_external//:defs.bzl", "maven_install")
load("@rules_jvm_external//:specs.bzl", "maven")
maven_install(
artifacts = [
maven.artifact(
"org.clojure",
"clojure",
"1.10.1",
exclusions = [
"org.clojure:core.specs.alpha",
"org.clojure:spec.alpha",
],
),
maven.artifact(
"org.clojure",
"spec.alpha",
"0.2.176",
exclusions = [
"org.clojure:clojure",
],
),
maven.artifact(
"org.clojure",
"core.specs.alpha",
"0.2.44",
exclusions = [
"org.clojure:clojure",
],
),
],
repositories = [
"https://repo1.maven.org/maven2",
"https://repo.clojars.org",
],
)
local_repository(
name = "rules_clojure",
path = "../../..",
)
register_toolchains("//:custom_toolchain")