From ac99569e1e8472e3f40c5aca44dac48ee68a4a47 Mon Sep 17 00:00:00 2001 From: brocollie08 Date: Mon, 1 Jul 2024 13:40:53 -0400 Subject: [PATCH] java_language_version --- .bazelrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.bazelrc b/.bazelrc index 92668a7cf..3cb6b3f78 100644 --- a/.bazelrc +++ b/.bazelrc @@ -1,6 +1,8 @@ -build --javabase=@bazel_tools//tools/jdk:remote_jdk11 -build --host_javabase=@bazel_tools//tools/jdk:remote_jdk11 +build --java_language_version=11 +build --java_runtime_version=remotejdk_11 +build --host_java_runtime_version=remotejdk_11 build --java_toolchain=@bazel_tools//tools/jdk:toolchain_hostjdk11 +build --host_java_toolchain=@bazel_tools//tools/jdk:toolchain_hostjdk11 common --enable_bzlmod test --test_output=errors