aboutsummaryrefslogtreecommitdiff
path: root/toolchains
diff options
context:
space:
mode:
Diffstat (limited to 'toolchains')
-rw-r--r--toolchains/BUILD14
1 files changed, 14 insertions, 0 deletions
diff --git a/toolchains/BUILD b/toolchains/BUILD
new file mode 100644
index 0000000..3bf326f
--- /dev/null
+++ b/toolchains/BUILD
@@ -0,0 +1,14 @@
+load("@io_bazel_rules_scala//scala:scala_toolchain.bzl", "scala_toolchain")
+
+scala_toolchain(
+ name = "toolchain_impl",
+ scalacopts = ["-Ywarn-unused"],
+ visibility = ["//visibility:public"]
+)
+
+toolchain(
+ name = "scala_toolchain",
+ toolchain_type = "@io_bazel_rules_scala//scala:toolchain_type",
+ toolchain = "toolchain_impl",
+ visibility = ["//visibility:public"]
+)