This repository has been archived by the owner on May 2, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19729 from moonfruit/graalvm-jdk21
Add GraalVM JDK 21.0.2
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
cask "graalvm-jdk21" do | ||
arch arm: "aarch64", intel: "x64" | ||
|
||
version "21.0.2" | ||
sha256 arm: "b504f7c570836a9c6b1b92813c5123718636d0ff0f832321129a4fe3a7b9a0b3", | ||
intel: "3e24632f27be74d039508ea2b0b7862ef8c40784f55785cf6b6e40b4b28d9d53" | ||
|
||
url "https://download.oracle.com/graalvm/#{version.major}/archive/graalvm-jdk-#{version}_macos-#{arch}_bin.tar.gz", | ||
verified: "download.oracle.com/" | ||
name "GraalVM Java Development Kit" | ||
desc "GraalVM from Oracle" | ||
homepage "https://www.graalvm.org/" | ||
|
||
livecheck do | ||
url "https://www.oracle.com/java/technologies/downloads/" | ||
regex(/graalvm\s+for\s+jdk\s+(21(?:\.\d+)+)/i) | ||
end | ||
|
||
artifact "graalvm-jdk-#{version}+13.1", target: "/Library/Java/JavaVirtualMachines/graalvm-#{version.major}.jdk" | ||
|
||
# No zap stanza required | ||
|
||
caveats do | ||
license "https://www.oracle.com/downloads/licenses/graal-free-license.html" | ||
<<~EOS | ||
According to https://www.graalvm.org/jdk21/docs/getting-started/macos/ | ||
This app will not work with quarantine attributes. | ||
EOS | ||
end | ||
end |