Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,14 @@ module(
# Thus the highest version in their module graph is resolved.

# These dependencies must be declared before the other rules dependencies.
bazel_dep(name = "rules_apple", version = "3.16.0", repo_name = "build_bazel_rules_apple")
bazel_dep(name = "rules_apple", version = "4.0.0", repo_name = "build_bazel_rules_apple")

# Increase the version of rules_swift required for this repo without taking a direct dependency on it.
single_version_override(
module_name = "rules_swift",
version = "3.0.2",
)

bazel_dep(name = "apple_support", version = "1.15.1", repo_name = "build_bazel_apple_support")

# Keep apple_support on 1.15.1 for now to avoid this issue:
Expand Down
2 changes: 1 addition & 1 deletion cmake/dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if(${CMAKE_VERSION} VERSION_GREATER 3.16 OR ${CMAKE_VERSION} VERSION_EQUAL 3.16)
include_guard()
endif()

set(rules_apple-version "3.16.0")
set(rules_apple-version "4.0.0")
set(apple_support-version "1.15.1")
set(abseil-cpp-version "20250512.1")
set(rules_cc-version "0.0.17")
Expand Down
6 changes: 6 additions & 0 deletions examples/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,9 @@ bazel_dep(name = "rules_cc", version = "0.0.17")
bazel_dep(name = "rules_java", version = "8.6.1")
bazel_dep(name = "rules_pkg", version = "1.0.1")
bazel_dep(name = "rules_python", version = "1.6.0")

# Increase the version of rules_swift required for this repo without taking a direct dependency on it.
single_version_override(
module_name = "rules_swift",
version = "3.0.2",
)
6 changes: 6 additions & 0 deletions examples/example_without_cc_toolchain/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@ local_path_override(
module_name = "protobuf",
path = "../..",
)

# Increase the version of rules_swift required for this repo without taking a direct dependency on it.
single_version_override(
module_name = "rules_swift",
version = "3.0.2",
)
6 changes: 6 additions & 0 deletions examples/examples_with_hyphen/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@ local_path_override(
module_name = "protobuf",
path = "..",
)

# Increase the version of rules_swift required for this repo without taking a direct dependency on it.
single_version_override(
module_name = "rules_swift",
version = "3.0.2",
)
4 changes: 2 additions & 2 deletions protobuf_deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ def protobuf_deps():
if not native.existing_rule("build_bazel_rules_apple"):
http_archive(
name = "build_bazel_rules_apple",
sha256 = "86ff9c3a2c7bc308fef339bcd5b3819aa735215033886cc281eb63f10cd17976",
url = "https://github.com/bazelbuild/rules_apple/releases/download/3.16.0/rules_apple.3.16.0.tar.gz",
sha256 = "70b0fb2aec1055c978109199bf58ccb5008aba8e242f3305194045c271ca3cae",
url = "https://github.com/bazelbuild/rules_apple/releases/download/4.0.0/rules_apple.4.0.0.tar.gz",
)

if not native.existing_rule("build_bazel_apple_support"):
Expand Down
Loading