-
Notifications
You must be signed in to change notification settings - Fork 2
/
BUILD.bazel
64 lines (59 loc) · 1.94 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
load("@io_bazel_rules_scala//scala:scala_toolchain.bzl", "scala_toolchain")
load("//rules:make_mezel_launcher.bzl", "make_mezel_launcher")
load("//aspects:aspect.bzl", "mezel_rule")
scala_toolchain(
name = "toolchain-scala_toolchain_2",
scalacopts = [
"-encoding",
"UTF-8",
"-feature",
"-unchecked",
"-deprecation",
"-language:existentials",
"-language:higherKinds",
"-language:implicitConversions",
#"-Wunused:all"
"-Ytasty-reader"
],
visibility = ["//visibility:public"],
dependency_tracking_method = "ast",
enable_diagnostics_report = True,
dependency_mode = "plus-one",
enable_semanticdb = True,
)
toolchain(
name = "toolchain_2",
toolchain = "toolchain-scala_toolchain_2",
toolchain_type = "@io_bazel_rules_scala//scala:toolchain_type",
visibility = ["//visibility:public"],
target_settings = ["@io_bazel_rules_scala_config//:scala_version_2_13_12"]
)
scala_toolchain(
name = "toolchain-scala_toolchain_3",
scalacopts = [
"-encoding",
"UTF-8",
"-feature",
"-unchecked",
"-deprecation",
"-language:existentials",
"-language:higherKinds",
"-language:implicitConversions",
"-Ykind-projector"
],
visibility = ["//visibility:public"],
dependency_tracking_method = "ast",
enable_diagnostics_report = True,
dependency_mode = "plus-one",
enable_semanticdb = True,
)
toolchain(
name = "toolchain_3",
toolchain = "toolchain-scala_toolchain_3",
toolchain_type = "@io_bazel_rules_scala//scala:toolchain_type",
visibility = ["//visibility:public"],
target_settings = ["@io_bazel_rules_scala_config//:scala_version_3_3_1"]
)
make_mezel_launcher(
name = "mk_mezel"
)