-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathWORKSPACE
More file actions
22 lines (16 loc) · 722 Bytes
/
WORKSPACE
File metadata and controls
22 lines (16 loc) · 722 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
workspace(name = "scala_example")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
rules_scala_version="a89d44f7ef67d93dedfc9888630f48d7723516f7" # update this as needed
http_archive(
name = "io_bazel_rules_scala",
url = "https://github.com/bazelbuild/rules_scala/archive/%s.zip"%rules_scala_version,
type = "zip",
strip_prefix= "rules_scala-%s" % rules_scala_version
)
load("@io_bazel_rules_scala//scala:scala.bzl", "scala_repositories")
scala_repositories()
# register default scala toolchain
load("@io_bazel_rules_scala//scala:toolchains.bzl", "scala_register_toolchains")
scala_register_toolchains()
load("//3rdparty:workspace.bzl", "maven_dependencies")
maven_dependencies()