Skip to content

v0.2.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 28 Apr 15:27
· 21 commits to main since this release
2666d9c

Using Bzlmod with Bazel 6

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "toolchains_protoc", version = "0.2.2")

Using WORKSPACE

Paste this snippet into your WORKSPACE.bazel file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "toolchains_protoc",
    sha256 = "a981d7865185b0483e4757742e503cd88fd1072f12e497524060e40be639d9ec",
    strip_prefix = "toolchains_protoc-0.2.2",
    url = "https://github.com/aspect-build/toolchains_protoc/releases/download/v0.2.2/toolchains_protoc-v0.2.2.tar.gz",
)

######################
# toolchains_protoc setup #
######################
# Fetches the toolchains_protoc dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@toolchains_protoc//protoc:repositories.bzl", "rules_protoc_dependencies")

rules_protoc_dependencies()

load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies")

rules_proto_dependencies()

load("@bazel_features//:deps.bzl", "bazel_features_deps")

bazel_features_deps()

load("@toolchains_protoc//protoc:toolchain.bzl", "protoc_toolchains")

protoc_toolchains(
    name = "protoc_toolchains",
    version = "v25.3",
)

What's Changed

  • Changes by create-pull-request action by @github-actions in #5
  • Changes by create-pull-request action by @github-actions in #6

Full Changelog: v0.2.1...v0.2.2