diff --git a/BUILD.bazel b/BUILD.bazel index 0141476..049cc52 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -1,5 +1,5 @@ -load("@build_bazel_rules_swift//swift:swift.bzl", "swift_library") -load("@build_bazel_rules_apple//apple:macos.bzl", "macos_command_line_application") +load("@rules_swift//swift:swift.bzl", "swift_library") +load("@rules_apple//apple:macos.bzl", "macos_command_line_application") load("@rules_cc//cc:defs.bzl", "objc_library") SWIFT_VERSION = "5" diff --git a/MODULE.bazel b/MODULE.bazel index 766a306..0fb81f8 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -13,18 +13,16 @@ bazel_dep( ) bazel_dep( name = "apple_support", - version = "1.15.1", - repo_name = "build_bazel_apple_support", + version = "1.15.1" ) bazel_dep( name = "rules_apple", - version = "3.5.1", - repo_name = "build_bazel_rules_apple", + version = "3.5.1" ) bazel_dep( name = "rules_swift", version = "1.18.0", - repo_name = "build_bazel_rules_swift", + repo_name = "rules_swift", ) bazel_dep( name = "rules_cc", diff --git a/repositories.bzl b/repositories.bzl index e537af0..f932e43 100644 --- a/repositories.bzl +++ b/repositories.bzl @@ -41,7 +41,7 @@ def namespaced_http_archive(name, **kwargs): def namespaced_build_file(libs): return """ package(default_visibility = ["//visibility:public"]) -load("@build_bazel_rules_swift//swift:swift.bzl", "swift_library") +load("@rules_swift//swift:swift.bzl", "swift_library") """ + "\n\n".join(libs) def namespaced_swift_library(name, srcs, deps = None, defines = None, copts=[]):