-
Notifications
You must be signed in to change notification settings - Fork 277
/
Copy pathBUILD
57 lines (50 loc) · 1.52 KB
/
BUILD
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
load("//scala:scala_cross_version.bzl", "version_suffix")
load("//scala:scala_toolchain.bzl", "scala_toolchain")
load("@io_bazel_rules_scala_config//:config.bzl", "SCALA_VERSION")
load("@rules_java//java:defs.bzl", "java_import", "java_library")
toolchain_type(
name = "toolchain_type",
visibility = ["//visibility:public"],
)
# Alias for backward compatibility
alias(
name = "default_toolchain",
actual = (
"@io_bazel_rules_scala_toolchains//scala:toolchain" +
version_suffix(SCALA_VERSION)
),
)
scala_toolchain(
name = "unused_dependency_checker_error_toolchain_impl",
dependency_tracking_method = "ast-plus",
unused_dependency_checker_mode = "error",
)
scala_toolchain(
name = "minimal_direct_source_deps_impl",
dependency_mode = "plus-one",
dependency_tracking_method = "ast",
strict_deps_mode = "error",
unused_dependency_checker_mode = "error",
)
[
toolchain(
name = tc,
toolchain = tc + "_impl",
toolchain_type = "//scala:toolchain_type",
visibility = ["//visibility:public"],
)
for tc in [
"unused_dependency_checker_error_toolchain",
"minimal_direct_source_deps",
]
]
java_import(
name = "bazel_test_runner_deploy",
jars = ["@bazel_tools//tools/jdk:TestRunner_deploy.jar"],
visibility = ["//visibility:public"],
)
java_library(
name = "PlaceHolderClassToCreateEmptyJarForScalaImport",
srcs = ["PlaceHolderClassToCreateEmptyJarForScalaImport.java"],
visibility = ["//visibility:public"],
)