From 37db90e3cdf47066912dde55a8817770e5664a84 Mon Sep 17 00:00:00 2001 From: cushon Date: Thu, 20 Jan 2022 01:08:51 -0800 Subject: [PATCH] Remove `--java_toolchain` and `--host_java_toolchain` from bazelrc PiperOrigin-RevId: 423005087 --- .bazelrc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.bazelrc b/.bazelrc index 0225533da16fb1..8571d4d11cd51e 100644 --- a/.bazelrc +++ b/.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