From 2d8c216d4d889f3b6bd8db992255d69ec02be49f Mon Sep 17 00:00:00 2001 From: Patrick Balestra Date: Tue, 28 May 2024 10:23:21 +0200 Subject: [PATCH] Test rules_swift bump --- MODULE.bazel | 5 +++++ apple/repositories.bzl | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index 44b2b3f6d8..d84f2e8423 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -10,6 +10,11 @@ bazel_dep(name = "apple_support", version = "1.15.1", repo_name = "build_bazel_a bazel_dep(name = "bazel_skylib", version = "1.3.0") bazel_dep(name = "platforms", version = "0.0.9") bazel_dep(name = "rules_swift", version = "1.18.0", repo_name = "build_bazel_rules_swift") +git_override( + module_name = "rules_swift", + commit = "8c144a2c28af3af7b78b5fd679550e6783a19194", + remote = "https://github.com/bazelbuild/rules_swift", +) bazel_dep( name = "stardoc", diff --git a/apple/repositories.bzl b/apple/repositories.bzl index 22e1d5c331..533156426b 100644 --- a/apple/repositories.bzl +++ b/apple/repositories.bzl @@ -122,8 +122,9 @@ def apple_rules_dependencies(ignore_version_differences = False, include_bzlmod_ _maybe( http_archive, name = "build_bazel_rules_swift", - sha256 = "bb01097c7c7a1407f8ad49a1a0b1960655cf823c26ad2782d0b7d15b323838e2", - url = "https://github.com/bazelbuild/rules_swift/releases/download/1.18.0/rules_swift.1.18.0.tar.gz", + strip_prefix = "rules_swift-8c144a2c28af3af7b78b5fd679550e6783a19194", + # sha256 = "bb01097c7c7a1407f8ad49a1a0b1960655cf823c26ad2782d0b7d15b323838e2", + url = "https://github.com/bazelbuild/rules_swift/archive/8c144a2c28af3af7b78b5fd679550e6783a19194.tar.gz", ignore_version_differences = ignore_version_differences, )