Skip to content

Commit

Permalink
Remove --java_toolchain and --host_java_toolchain from bazelrc
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 423005087
  • Loading branch information
cushon authored and copybara-github committed Jan 20, 2022
1 parent d5c4f55 commit 37db90e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,8 @@ build:bzlmod --crosstool_top=@rules_cc.0.0.1.cc_configure.local_config_cc//:tool
build:bzlmod --xcode_version_config=@rules_cc.0.0.1.cc_configure.local_config_xcode//:host_xcodes

# Enable Java 11 language features (https://github.com/bazelbuild/bazel/issues/14592)
# Toolchain resolution configuration for Bazel >= 5
build --java_language_version=11
build --tool_java_language_version=11
# Legacy configuration for Bazel <= 4
build --java_toolchain=@bazel_tools//tools/jdk:toolchain_java11
build --host_java_toolchain=@bazel_tools//tools/jdk:toolchain_java11

# User-specific .bazelrc
try-import user.bazelrc

0 comments on commit 37db90e

Please sign in to comment.