mirror of
https://github.com/ScoopInstaller/Java.git
synced 2026-08-02 16:09:23 +08:00
32 lines
1.3 KiB
JSON
32 lines
1.3 KiB
JSON
{
|
|
"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": "23.0.2",
|
|
"homepage": "https://www.graalvm.org/",
|
|
"license": "GPL-2.0",
|
|
"url": "https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-23.0.2/graalvm-community-jdk-23.0.2_windows-x64_bin.zip",
|
|
"hash": "6a358b759865f4c52fc97c3096a8ab8db86ea83b07b152b79809d2afb140f260",
|
|
"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://api.github.com/repos/graalvm/graalvm-ce-builds/tags?per_page=200&page=1",
|
|
"jsonpath": "$.[?(@.name =~ /^jdk-23[\\d.]+$/)].name",
|
|
"regex": "jdk-([\\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"
|
|
}
|
|
}
|
|
}
|