Skip to content

Commit

Permalink
chore: update docs, hashes, release notes
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Gammon <sam@elide.ventures>
  • Loading branch information
sgammon committed Jan 8, 2024
1 parent 24cd52f commit fd32d78
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 25 deletions.
28 changes: 16 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,15 @@ Use [GraalVM](https://graalvm.org) with [Bazel](https://bazel.build) to:
**Via `WORKSPACE.bazel`:**

| Artifact | SHA256 |
| ------- | ----------- |
| `rules_graalvm-0.11.0.zip` | `f907041330f7eff8a0af1c19fdf936f0c8f8bc127cb52d5a1dde444784d9df54 ` |
| `rules_graalvm-0.11.0.tgz` | `07ee6451dd4fd78625b0f0d94b9df9bf673716bf9572a0ab24675bc052928f7a ` |

```starlark
http_archive(
name = "rules_graalvm",
sha256 = None,
sha256 = "f907041330f7eff8a0af1c19fdf936f0c8f8bc127cb52d5a1dde444784d9df54",
strip_prefix = "rules_graalvm-0.11.0",
urls = [
"https://github.com/sgammon/rules_graalvm/releases/download/v0.11.0/rules_graalvm-0.11.0.zip",
Expand All @@ -62,12 +67,9 @@ load("@rules_graalvm//graalvm:repositories.bzl", "graalvm_repository")
```starlark
graalvm_repository(
name = "graalvm",
components = [
# if you need components like `js` or `wasm`, add them here
],
distribution = "ce", # `oracle`, `ce`, or `community`
java_version = "20", # `17`, `20`, or `21`, as supported by the version provided
version = "20.0.2", # earlier version format like `22.x` also supported
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
)
```

Expand All @@ -83,6 +85,11 @@ register_graalvm_toolchains()

**Or, via `MODULE.bazel`:**

| Artifact | Integrity value |
| ------- | --------------- |
| `rules_graalvm-0.11.0.zip` | `sha256-+QcEEzD37/igrxwZ/fk28Mj4vBJ8tS1aHd5ER4TZ31Q=` |
| `rules_graalvm-0.11.0.tgz` | `sha256-B+5kUd1P14YlsPDZS535v2c3Fr+VcqCrJGdbwFKSj3o=` |

```starlark
bazel_dep(name = "rules_graalvm", version = "0.11.0")
```
Expand All @@ -92,12 +99,9 @@ gvm = use_extension("@rules_graalvm//:extensions.bzl", "graalvm")

gvm.graalvm(
name = "graalvm",
version = "20.0.2", # earlier version format like `22.x` also supported
distribution = "oracle", # `oracle`, `ce`, or `community`
java_version = "20", # `17`, `20`, or `21`, as supported by the version provided
components = [
# if you need components like `js` or `wasm`, add them here
],
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")
register_toolchains("@graalvm//:jvm")
Expand Down
30 changes: 17 additions & 13 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,15 @@ Use [GraalVM](https://graalvm.org) from [Bazel](https://bazel.build), with suppo
**Via `WORKSPACE.bazel`:**

| Artifact | SHA256 |
| ------- | ----------- |
| `rules_graalvm-0.11.0.zip` | `f907041330f7eff8a0af1c19fdf936f0c8f8bc127cb52d5a1dde444784d9df54 ` |
| `rules_graalvm-0.11.0.tgz` | `07ee6451dd4fd78625b0f0d94b9df9bf673716bf9572a0ab24675bc052928f7a ` |

```python
http_archive(
name = "rules_graalvm",
sha256 = None,
sha256 = "f907041330f7eff8a0af1c19fdf936f0c8f8bc127cb52d5a1dde444784d9df54",
strip_prefix = "rules_graalvm-0.11.0",
urls = [
"https://github.com/sgammon/rules_graalvm/releases/download/v0.11.0/rules_graalvm-0.11.0.zip",
Expand All @@ -60,17 +65,19 @@ load("@rules_graalvm//graalvm:repositories.bzl", "graalvm_repository")
```python
graalvm_repository(
name = "graalvm",
components = [
# if you need components like `js` or `wasm`, add them here
],
distribution = "oracle", # `oracle`, `ce`, or `community`
java_version = "20", # `17`, `20`, or `21`, as supported by the version provided
version = "20.0.2", # 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
version = "21.0.1", # earlier version format like `22.x` also supported
)
```

**Or, via `MODULE.bazel`:**

| Artifact | Integrity value |
| ------- | --------------- |
| `rules_graalvm-0.11.0.zip` | `sha256-+QcEEzD37/igrxwZ/fk28Mj4vBJ8tS1aHd5ER4TZ31Q=` |
| `rules_graalvm-0.11.0.tgz` | `sha256-B+5kUd1P14YlsPDZS535v2c3Fr+VcqCrJGdbwFKSj3o=` |

```python
bazel_dep(name = "rules_graalvm", version = "0.11.0")
```
Expand All @@ -80,12 +87,9 @@ gvm = use_extension("@rules_graalvm//:extensions.bzl", "graalvm")

gvm.graalvm(
name = "graalvm",
version = "20.0.2", # earlier version format like `22.x` also supported
distribution = "oracle", # `oracle`, `ce`, or `community`
java_version = "20", # `17`, `20`, or `21`, as supported by the version provided
components = [
# if you need components like `js` or `wasm`, add them here
],
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")
register_toolchains("@graalvm//:jvm")
Expand Down

0 comments on commit fd32d78

Please sign in to comment.