v0.11.1
Summary
This release applies inert fixes and updates to build tooling, as well as upgrades to GraalVM. The newest version is now supported (21.0.2
), released last week (mid-January 2024).
0.11.1
includes @meteorcloudy's first contribution to the project. Thank you!
Installation
Via WORKSPACE.bazel
:
http_archive(
name = "rules_graalvm",
sha256 = "e4fa275b062dcd03b1ecb02bb25f01ead512023006a874a5e0c2cb78ba6d8e73",
strip_prefix = "rules_graalvm-0.11.1",
urls = [
"https://github.com/sgammon/rules_graalvm/releases/download/v0.11.0/rules_graalvm-0.11.1.zip",
],
)
load("@rules_graalvm//graalvm:repositories.bzl", "graalvm_repository")
graalvm_repository(
name = "graalvm",
distribution = "ce", # `oracle`, `ce`, or `community`
java_version = "21", # `17`, `20`, or `21`, as supported by the version provided
version = "21.0.1", # earlier version format like `22.x` also supported
)
Artifact | SHA256 |
---|---|
rules_graalvm-0.11.1.zip |
e4fa275b062dcd03b1ecb02bb25f01ead512023006a874a5e0c2cb78ba6d8e73 |
rules_graalvm-0.11.1.tgz |
0128b4a8664974689fadae56b517de627c5f42141925111baf05dc91c37af1c0 |
Or, via MODULE.bazel
:
bazel_dep(name = "rules_graalvm", version = "0.11.0")
gvm = use_extension("@rules_graalvm//:extensions.bzl", "graalvm")
gvm.graalvm(
name = "graalvm",
version = "21.0.1", # earlier version format like `22.x` also supported
distribution = "ce", # `oracle`, `ce`, or `community`
java_version = "21", # `17`, `20`, or `21`, as supported by the version provided
)
use_repo(gvm, "graalvm")
use_repo(gvm, "graalvm_toolchains")
register_toolchains("@graalvm_toolchains//:all")
Artifact | Integrity value |
---|---|
rules_graalvm-0.11.1.zip |
sha256-5PonWwYtzQOx7LArsl8B6tUSAjAGqHSl4MLLeLptjnM= |
rules_graalvm-0.11.1.tgz |
sha256-ASi0qGZJdGifra5WtRfeYnxfQhQZJREbrwXckcN68cA= |
Using GraalVM as your Java toolchain
Via WORKSPACE.bazel
:
# graalvm_repository(...)
load("@rules_graalvm//graalvm:workspace.bzl", "register_graalvm_toolchains")
register_graalvm_toolchains()
Via Bzlmod:
register_toolchains("@graalvm_toolchains//:all")
To use the toolchain, add this to your .bazelrc
:
build --extra_toolchains=@graalvm_toolchains//:toolchain
build --java_runtime_version=graalvm_21
Note
If you name your repository example
and set the Java version to 21
, your java_runtime_version
would be example_21
, and your toolchain repo would be @example_toolchains
.
Release Notes
This is a point release which only applies fixes, updates, and the latest versions of GraalVM.
What's Changed
- chore(deps): lock file maintenance by @renovate in #238
- chore(deps): bump github/codeql-action from 3.22.12 to 3.23.0 by @dependabot in #239
- chore: add repository/project docs by @sgammon in #240
- chore(deps): bump actions/cache from 3.3.2 to 3.3.3 by @dependabot in #241
- chore(deps): bump actions/deploy-pages from 4.0.2 to 4.0.3 by @dependabot in #242
- fix: bazelci support by @sgammon in #259
- chore(deps): bump actions/upload-artifact from 4.0.0 to 4.1.0 by @dependabot in #257
- chore(deps): bump actions/cache from 3.3.3 to 4.0.0 by @dependabot in #260
- chore(deps-dev): bump prettier from 3.1.1 to 3.2.4 by @dependabot in #261
- chore(deps): bump actions/dependency-review-action from 3.1.5 to 4.0.0 by @dependabot in #270
- chore(deps): bump actions/upload-artifact from 4.1.0 to 4.2.0 by @dependabot in #269
- chore(deps): bump github/codeql-action from 3.23.0 to 3.23.1 by @dependabot in #268
- Update presubmit.yml to test all platforms by @meteorcloudy in #267
- Fix presubmit.yml by @meteorcloudy in #271
- Fix presubmit.yml by @meteorcloudy in #274
- Release:
0.11.1
by @sgammon in #275 - chore(deps): bump advanced-security/maven-dependency-submission-action from 3.0.3 to 4.0.0 by @dependabot in #277
- chore(deps): bump actions/upload-artifact from 4.2.0 to 4.3.0 by @dependabot in #276
- chore(deps-dev): bump @commitlint/config-conventional from 18.4.4 to 18.5.0 by @dependabot in #273
- chore(deps): lock file maintenance by @renovate in #255
New Contributors
- @meteorcloudy made their first contribution in #267
Full Changelog: v0.11.0...v0.11.1