local_repository( name = "external_copy_to_directory", path = "..", ) local_repository( name = "aspect_bazel_lib", path = "../../..", ) load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies") aspect_bazel_lib_dependencies() # 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", sha256 = "67b4d1f517ba73e0a92eb2f57d821f2ddc21f5bc2bd7a231573f11bd8758192e", urls = ["https://github.com/bazelbuild/rules_go/releases/download/v0.50.0/rules_go-v0.50.0.zip"], ) 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"], ) 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") load("@gazelle//:deps.bzl", "gazelle_dependencies") gazelle_dependencies()