1

dev_dependency

This commit is contained in:
zplin 2023-03-22 03:58:27 +00:00 committed by Motiejus Jakštys
parent fa7a3d8e9f
commit 3569fbd0fd

View File

@ -3,15 +3,22 @@ module(
version = "1.0.1", version = "1.0.1",
) )
bazel_dep(name = "protobuf", version = "3.19.0", repo_name = "com_google_protobuf") bazel_dep(name = "rules_go", version = "0.38.1", dev_dependency = True)
bazel_dep(name = "rules_go", version = "0.38.1")
go_sdk = use_extension("@rules_go//go:extensions.bzl", "go_sdk") go_sdk = use_extension(
"@rules_go//go:extensions.bzl",
"go_sdk",
dev_dependency = True,
)
use_repo(go_sdk, "go_default_sdk") use_repo(go_sdk, "go_default_sdk")
bazel_dep(name = "gazelle", version = "0.29.0") bazel_dep(name = "gazelle", version = "0.29.0", dev_dependency = True)
go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps") go_deps = use_extension(
"@gazelle//:extensions.bzl",
"go_deps",
dev_dependency = True,
)
go_deps.from_file(go_mod = "//:go.mod") go_deps.from_file(go_mod = "//:go.mod")
use_repo( use_repo(
go_deps, go_deps,