Using Bzlmod
NOTE: bzlmod support is still beta. APIs subject to change.
Add to your MODULE.bazel
file:
bazel_dep(name = "com_cognitedata_bazel_snapshots", version = "0.12.2")
archive_override(
module_name = "com_cognitedata_bazel_snapshots",
sha256 = "5467b3710455e387de96323921cef28ffa86de1dfa2c28269e97acd1dd0fdc31",
urls = ["https://github.com/cognitedata/bazel-snapshots/releases/download/v0.12.2/snapshots-v0.12.2.tar"],
)
Using WORKSPACE
Paste this snippet into your WORKSPACE
file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_cognitedata_bazel_snapshots",
sha256 = "5467b3710455e387de96323921cef28ffa86de1dfa2c28269e97acd1dd0fdc31",
url = "https://github.com/cognitedata/bazel-snapshots/releases/download/v0.12.2/snapshots-v0.12.2.tar",
)
load("@com_cognitedata_bazel_snapshots//snapshots:dependencies.bzl", "snapshots_dependencies")
snapshots_dependencies()
load("@com_cognitedata_bazel_snapshots//snapshots:repositories.bzl", "snapshots_register_toolchains")
snapshots_register_toolchains()
What's Changed
Full Changelog: v0.12.1...v0.12.2