2023-10-10 14:16:13 +00:00
|
|
|
workspace(name = "external_copy_to_directory")
|
|
|
|
|
|
|
|
local_repository(
|
|
|
|
name = "aspect_bazel_lib",
|
|
|
|
path = "../..",
|
|
|
|
)
|
|
|
|
|
|
|
|
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
|
|
|
|
|
|
|
|
aspect_bazel_lib_dependencies()
|
|
|
|
|
2024-08-20 18:20:51 +00:00
|
|
|
# rules_go is needed to consume tools from sources
|
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
|
|
|
|
|
|
http_archive(
|
|
|
|
name = "io_bazel_rules_go",
|
2024-09-12 13:53:29 +00:00
|
|
|
sha256 = "f4a9314518ca6acfa16cc4ab43b0b8ce1e4ea64b81c38d8a3772883f153346b8",
|
|
|
|
urls = ["https://github.com/bazelbuild/rules_go/releases/download/v0.50.1/rules_go-v0.50.1.zip"],
|
2024-08-20 18:20:51 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
http_archive(
|
|
|
|
name = "gazelle",
|
|
|
|
integrity = "sha256-dd8ojEsxyB61D1Hi4U9HY8t1SNquEmgXJHBkY3/Z6mI=",
|
|
|
|
urls = ["https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.36.0/bazel-gazelle-v0.36.0.tar.gz"],
|
|
|
|
)
|
|
|
|
|
2023-10-10 14:16:13 +00:00
|
|
|
load("@aspect_bazel_lib//:deps.bzl", "go_dependencies")
|
|
|
|
|
|
|
|
go_dependencies()
|
|
|
|
|
|
|
|
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
|
|
|
|
|
|
|
|
go_rules_dependencies()
|
|
|
|
|
|
|
|
go_register_toolchains(version = "1.18.3")
|
|
|
|
|
2024-08-20 18:20:51 +00:00
|
|
|
load("@gazelle//:deps.bzl", "gazelle_dependencies")
|
2023-10-10 14:16:13 +00:00
|
|
|
|
|
|
|
gazelle_dependencies()
|