diff --git a/BUILD.bazel b/BUILD.bazel index 1629891..bdf8eb1 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -1,4 +1,4 @@ -load("@gazelle//:def.bzl", "gazelle") +load("@bazel_gazelle//:def.bzl", "gazelle") # gazelle:build_file_name BUILD,BUILD.bazel # gazelle:go_naming_convention go_default_library diff --git a/MODULE.bazel b/MODULE.bazel index 7b52032..9a87dad 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -3,13 +3,13 @@ module( version = "1.1.0", ) -bazel_dep(name = "rules_go", version = "0.50.1") -bazel_dep(name = "gazelle", version = "0.40.0") +bazel_dep(name = "rules_go", version = "0.50.1", repo_name = "io_bazel_rules_go") +bazel_dep(name = "gazelle", version = "0.40.0", repo_name = "bazel_gazelle") -go_sdk = use_extension("@rules_go//go:extensions.bzl", "go_sdk") +go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk") go_sdk.download(version = "1.23.4") -go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps") +go_deps = use_extension("@bazel_gazelle//:extensions.bzl", "go_deps") go_deps.from_file(go_mod = "//:go.mod") use_repo( go_deps, diff --git a/pkg/tidydns/BUILD b/pkg/tidydns/BUILD index 2674573..ec012b9 100644 --- a/pkg/tidydns/BUILD +++ b/pkg/tidydns/BUILD @@ -1,4 +1,4 @@ -load("@rules_go//go:def.bzl", "go_library", "go_test") +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library",