1package(default_visibility = ["//visibility:public"])
2
3# The following are just to satisfy a toolchain registration triggered from
4# a WORKSPACE suffix added by the Bazel binary, but are unused.
5java_runtime(
6    name = "placeholder_runtime",
7    java_home = None,
8    version = 0,
9    visibility = ["//visibility:public"],
10)
11
12toolchain(
13    name = "runtime_toolchain_definition",
14    exec_compatible_with = ["@platforms//:incompatible"],
15    target_compatible_with = ["@platforms//:incompatible"],
16    toolchain = "placeholder_runtime",
17    toolchain_type = "@bazel_tools//tools/jdk:runtime_toolchain_type",
18)
19
20#The Kotlin rules directly refer to @local_jdk//jar, this alias is defined to
21# keep this reference valid.
22alias(
23    name = "jar",
24    actual = "@//prebuilts/jdk/jdk17:jar",
25)
26