Skip to content

Releases: bzlparty/rules_oak

v0.2.1

26 Jun 23:56
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6

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

Using WORKSPACE

Paste this snippet into your file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_oak",
    sha256 = "a28eee7124178fceff8a849cdc9f97e8f6c2547368a4697eccf0f1732572909d",
    strip_prefix = "rules_oak-0.2.1",
    url = "https://github.com/bzlparty/rules_oak/releases/download/v0.2.1/rules_oak-v0.2.1.tar.gz",
)

######################
# rules_oak setup #
######################
# Fetches the rules_oak 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("@rules_oak//oak:repositories.bzl", "oak_register_toolchains", "rules_oak_dependencies")

rules_oak_dependencies()

oak_register_toolchains(
    name = "oak",
    oak_version = "0.3",
)

Full Changelog: v0.2.0...v0.2.1

v0.2.0

26 Jun 23:36
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6

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

Using WORKSPACE

Paste this snippet into your file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_oak",
    sha256 = "401621ff708314bf230846cd3633ead47abcf97ee0359135ae39935636cb10d1",
    strip_prefix = "rules_oak-0.2.0",
    url = "https://github.com/bzlparty/rules_oak/releases/download/v0.2.0/rules_oak-v0.2.0.tar.gz",
)

######################
# rules_oak setup #
######################
# Fetches the rules_oak 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("@rules_oak//oak:repositories.bzl", "oak_register_toolchains", "rules_oak_dependencies")

rules_oak_dependencies()

oak_register_toolchains(
    name = "oak",
    oak_version = "0.3",
)

Full Changelog: https://github.com/bzlparty/rules_oak/commits/v0.2.0