forked from wix-incubator/exodus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
46 lines (43 loc) · 1.23 KB
/
BUILD.bazel
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
load("@io_bazel_rules_scala//scala:scala_toolchain.bzl", "scala_toolchain")
load(
"@io_bazel_rules_scala//scala:providers.bzl",
_declare_scalac_provider = "declare_scalac_provider",
)
scala_toolchain(
name = "global_toolchain_impl",
scalac_provider_attr = "//:scalac_default",
scalacopts = [
"-unchecked",
"-deprecation",
"-feature",
"-Xmax-classfile-name",
"240",
"-Ywarn-unused-import",
"-Ywarn-unused",
],
plus_one_deps_mode = "on",
visibility = ["//visibility:public"],
)
toolchain(
name = "global_toolchain",
toolchain = "global_toolchain_impl",
toolchain_type = "@io_bazel_rules_scala//scala:toolchain_type",
visibility = ["//visibility:public"],
)
_declare_scalac_provider(
name = "scalac_default",
default_classpath = [
"@org_scala_lang_scala_library",
"@org_scala_lang_scala_reflect",
],
default_macro_classpath = [
"@org_scala_lang_scala_library",
"@org_scala_lang_scala_reflect",
],
default_repl_classpath = [
"@org_scala_lang_scala_library",
"@org_scala_lang_scala_reflect",
"@org_scala_lang_scala_compiler",
],
visibility = ["//visibility:public"],
)