]> source.dussan.org Git - jgit.git/commitdiff
Bazel: Replace deprecated --experimental_strict_action_env option 69/1194069/1
authorDavid Ostrovsky <david@ostrovsky.org>
Tue, 30 Apr 2024 05:07:20 +0000 (07:07 +0200)
committerDavid Ostrovsky <david@ostrovsky.org>
Tue, 30 Apr 2024 05:10:53 +0000 (07:10 +0200)
In recent Bazel release the option was deprecated and replaced with:
--incompatible_strict_action_env option.

Hence this change is fixing this warning:

  WARNING: Option 'experimental_strict_action_env' is deprecated:
  Use --incompatible_strict_action_env instead

Change-Id: I49645b084c338d9c2bfff8ad20831bcf18de6b53

.bazelrc

index 8324680c961ef574abac65ab9973848bf746f702..51be79be289c838514a8a888d4e8e61166ef756e 100644 (file)
--- a/.bazelrc
+++ b/.bazelrc
@@ -4,7 +4,7 @@ common --noenable_bzlmod
 
 build --workspace_status_command="python ./tools/workspace_status.py"
 build --repository_cache=~/.gerritcodereview/bazel-cache/repository
-build --experimental_strict_action_env
+build --incompatible_strict_action_env
 build --action_env=PATH
 build --disk_cache=~/.gerritcodereview/bazel-cache/cas