diff --git a/.bazelversion b/.bazelversion index 19b860c..b26a34e 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -6.4.0 +7.2.1 diff --git a/.gitignore b/.gitignore index 331dca8..3520b97 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /DerivedData/ /.swiftpm/ bazel-* +MODULE.bazel.lock diff --git a/BUILD b/BUILD index f0886e0..890a143 100644 --- a/BUILD +++ b/BUILD @@ -3,6 +3,7 @@ load("@build_bazel_rules_swift//swift:swift.bzl", "swift_library") cc_library( name = "CIndexStore", hdrs = ["Sources/CIndexStore/include/indexstore.h"], + aspect_hints = ["@build_bazel_rules_swift//swift:auto_module"], copts = ["-std=c++17"], linkstatic = True, tags = ["swift_module=CIndexStore"], diff --git a/MODULE.bazel b/MODULE.bazel index 9a7902a..21b9ce9 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -4,9 +4,10 @@ module( compatibility_level = 1, ) -bazel_dep(name = "platforms", version = "0.0.8") -bazel_dep(name = "rules_apple", version = "3.1.1", repo_name = "build_bazel_rules_apple") -bazel_dep(name = "rules_swift", version = "1.13.0", repo_name = "build_bazel_rules_swift") +bazel_dep(name = "apple_support", version = "1.16.0") +bazel_dep(name = "platforms", version = "0.0.9") +bazel_dep(name = "rules_apple", version = "3.6.0", repo_name = "build_bazel_rules_apple") +bazel_dep(name = "rules_swift", version = "2.1.1", repo_name = "build_bazel_rules_swift") non_module_deps = use_extension("//:repositories.bzl", "bzlmod_deps") use_repo(non_module_deps, "StaticIndexStore")