-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
32 lines (25 loc) · 942 Bytes
/
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
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
RULES_KOTLIN_VERSION = "v1.6.0-RC-2" # also fails with `1.6.0-RC-1`.
http_archive(
name = "io_bazel_rules_kotlin",
urls = ["https://github.com/bazelbuild/rules_kotlin/releases/download/%s/rules_kotlin_release.tgz" % RULES_KOTLIN_VERSION],
)
load("@io_bazel_rules_kotlin//kotlin:repositories.bzl", "kotlin_repositories")
kotlin_repositories()
load("@io_bazel_rules_kotlin//kotlin:core.bzl", "kt_register_toolchains")
kt_register_toolchains()
http_archive(
name = "rules_jvm_external",
strip_prefix = "rules_jvm_external-%s" % "4.2",
url = "https://github.com/bazelbuild/rules_jvm_external/archive/%s.zip" % "4.2",
)
load("@rules_jvm_external//:defs.bzl", "maven_install")
maven_install(
artifacts = [
"junit:junit:4.12",
],
repositories = [
"https://maven.google.com",
"https://repo1.maven.org/maven2",
],
)