From 666f336a3df21257c8071393d795d8d789bec694 Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Sat, 2 Mar 2024 14:57:40 -0800 Subject: [PATCH] [5.10][bazel] Update bazel version and BUILD for new modules (#2521) --- .bazelrc | 1 + .bazelversion | 2 +- MODULE.bazel | 5 +++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.bazelrc b/.bazelrc index 21b32d84353..aab718dde75 100644 --- a/.bazelrc +++ b/.bazelrc @@ -1,5 +1,6 @@ common --enable_bzlmod common --incompatible_use_host_features +common --lockfile_mode=off build --features=swift.use_explicit_swift_module_map build --host_features=swift.use_explicit_swift_module_map diff --git a/.bazelversion b/.bazelversion index 6abaeb2f907..a8907c025d5 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -6.2.0 +7.0.2 diff --git a/MODULE.bazel b/MODULE.bazel index 7325a075212..07d4758742c 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -1,7 +1,8 @@ module( name = "swift-syntax", - version = "0", # Update on release/* branches + version = "0", compatibility_level = 1, ) -bazel_dep(name = "rules_swift", version = "1.5.1", repo_name = "build_bazel_rules_swift") +bazel_dep(name = "rules_swift", version = "1.16.0", repo_name = "build_bazel_rules_swift") +bazel_dep(name = "apple_support", version = "1.11.1", repo_name = "build_bazel_apple_support")