Bazel 8 support
Bazel 8 introduced some incompatible changes. For example: [Incompatible]
The format of canonical repo names has changed to use plus (+) instead of tilde (~)
(taken from the 8.0.0 bazel release)
We need to add support for builds using Bazel 8+ by addressing any incompatible changes:
-
--incompatible_use_plus_in_repo_names
, a flag which changes the tilde (~) character used in canonical repo names to the plus (+) sign, defaults true and is now a no-op (cannot be changed). Since we are using bazel 7.4.0+ (also 8.0.0) support for both separators is required.
In addition Bazel 8 should be added to the list of versions we run against our CI.
Edited by Tomer Shterenberg