From 1f635304faf040c642eddc8e01ccd51d7117f278 Mon Sep 17 00:00:00 2001 From: Michael Vorburger Date: Mon, 20 Feb 2023 14:32:12 +0100 Subject: [PATCH] build: Fixed (?) Bazel rebuilds PITA - https://github.com/bazelbuild/bazel/issues/7095 - https://github.com/bazelbuild/intellij/issues/1169 - https://github.com/protocolbuffers/protobuf/issues/6886 --- .bazelrc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.bazelrc b/.bazelrc index 749b5de7c..ff9c5ccbb 100644 --- a/.bazelrc +++ b/.bazelrc @@ -6,11 +6,15 @@ common --enable_bzlmod # https://bazel.build/docs/user-manual#java_runtime_version build --java_runtime_version=remotejdk_11 +# https://github.com/bazelbuild/intellij/issues/1169 +build --incompatible_strict_action_env +run --incompatible_strict_action_env + # https://bazel.build/reference/command-line-reference#flag--test_output test --test_output=errors # Quiet! # common --noshow_progress -common --ui_event_filters=error,warning,-info,-debug,stdout,stderr -# FYI -info hides output of tools such as core_buf_proto_lint (TODO how-to show only that, if failure?) +common --ui_event_filters=error,warning,info,-debug,stdout,stderr +# FYI -info also hides :( output from tests and tools such as core_buf_proto_lint (TODO how-to show only that, if failure?) # Beware, -stdout breaks IDE integrations!