Remove `--java_toolchain` and `--host_java_toolchain` from bazelrc
@@ -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
