From b0837e6a817bff002af6ca2422ff67dda7f9277a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thor=20Anker=20Kvisg=C3=A5rd=20Lange?= Date: Wed, 4 Dec 2024 12:49:07 +0100 Subject: [PATCH] fix: Trying to change repo prefix to work around import issue (#9) --- BUILD.bazel | 2 +- MODULE.bazel | 8 ++++---- pkg/tidydns/BUILD | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) 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",