enso/toolchains/BUILD.bazel
Hubert Plociniczak 0ae2b60259 test
2024-04-25 17:06:51 +02:00

23 lines
749 B
Python

## Discover dependencies via
## > bazel build <target> --extra_toolchains=//:plus_one_strict_deps_filter
load("@io_bazel_rules_scala//scala:scala_toolchain.bzl", "scala_toolchain")
scala_toolchain(
name = "enso_toolchain_impl",
scalacopts = ["-Ywarn-unused"],
scalac_jvm_flags = [
"-Djava.security.manager=allow",
],
## Allows for easier discovery of missing dependencies
## dependency_mode = "plus-one",
## dependency_tracking_method = "ast",
## strict_deps_mode = "error",
visibility = ["//visibility:public"]
)
toolchain(
name = "enso_toolchain",
toolchain_type = "@io_bazel_rules_scala//scala:toolchain_type",
toolchain = "enso_toolchain_impl",
visibility = ["//visibility:public"]
)