2
0
Fork 0
mirror of https://github.com/bazel-contrib/bazel-lib synced 2024-12-01 07:15:24 +00:00
bazel-lib/e2e/smoke/WORKSPACE

40 lines
1.1 KiB
Python
Raw Normal View History

2023-01-17 05:46:39 +00:00
local_repository(
name = "aspect_bazel_lib",
path = "../..",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")
2023-01-17 05:46:39 +00:00
aspect_bazel_lib_dependencies()
aspect_bazel_lib_register_toolchains()
# 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()