graalmvm21-jdk21: Add manifest (#501)

* graalmvm21-jdk21

Addition of graalvm-jdk21-21.0.1.

change to corect auto-update version in extract_dir

* allow extraction of subdirectory to fix versioning
This commit is contained in:
Paul Henderson 2023-11-27 08:35:21 +00:00 committed by GitHub
parent c2f405df69
commit 9a2d522479
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,30 @@
{
"description": "High-performance, embeddable, polyglot Virtual Machine for JVM-langs (Java, Scala, Kotlin), JavaScript/NodeJS, Python, Ruby, R, and LLVM-langs (C, C++, Rust)",
"version": "21.0.1",
"homepage": "https://www.graalvm.org/",
"license": "GPL-2.0",
"url": "https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-21.0.1/graalvm-community-jdk-21.0.1_windows-x64_bin.zip",
"hash": "18034bcfdd54319292eece7a4a669075433b76adbd6d04d32dcf23f74f7b8f0e",
"extract_to": "tmp",
"installer": {
"script": [
"(Get-ChildItem -Directory \"$dir\\tmp\").FullName | % { Move-Item \"$_\\*\" \"$dir\" }",
"Remove-Item -Recurse \"$dir\\tmp\""
]
},
"env_add_path": "bin",
"env_set": {
"JAVA_HOME": "$dir",
"GRAALVM_HOME": "$dir"
},
"checkver": {
"url": "https://github.com/graalvm/graalvm-ce-builds/releases/latest",
"regex": "jdk-(21[\\d.]+)"
},
"autoupdate": {
"url": "https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-$version/graalvm-community-jdk-$version_windows-x64_bin.zip",
"hash": {
"url": "$url.sha256"
}
}
}