Skip to content

Commit

Permalink
Don't register @local_jdk//:runtime_toolchain_definition
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorcloudy committed Nov 10, 2021
1 parent fac32a5 commit 8493437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,6 @@ def rules_java_toolchains(name = "toolchains"):

REMOTE_JDK_REPOS = [("remotejdk" + version + "_" + platform) for version in JDK_VERSIONS for platform in PLATFORMS] + EXTRA_REMOTE_JDK11_REPOS
native.register_toolchains("//toolchains:all")
native.register_toolchains("@local_jdk//:runtime_toolchain_definition")
# native.register_toolchains("@local_jdk//:runtime_toolchain_definition")
for name in REMOTE_JDK_REPOS:
native.register_toolchains("@" + name + "_toolchain_config_repo//:toolchain")

0 comments on commit 8493437

Please sign in to comment.