mirror of
https://github.com/ScoopInstaller/Java.git
synced 2026-08-03 09:39:21 +08:00
40 lines
1.6 KiB
JSON
40 lines
1.6 KiB
JSON
{
|
|
"description": "Alibaba Dragonwell, a downstream version of OpenJDK, is the in-house OpenJDK implementation at Alibaba (with extensive custom features optimized for cloud computing environments)",
|
|
"version": "21.0.10.0.10-21.0.10",
|
|
"homepage": "https://dragonwell-jdk.io/",
|
|
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/dragonwell-project/dragonwell21/releases/download/dragonwell-standard-21.0.10.0.10%2B7_jdk-21.0.10-ga/Alibaba_Dragonwell_Standard_21.0.10.0.10.7_x64_windows.zip",
|
|
"hash": "a62dbe536b5ba9d873915f39cae71e89fdd11f09f35ad5f9277bd6b4b0e4c45b"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"checkver": {
|
|
"github": "https://github.com/dragonwell-project/dragonwell21/",
|
|
"regex": "(?<tag>dragonwell-standard-(?<dragon>[\\d.]+)(?<build>(?:\\%2B|\\+)?[\\d]*)?_jdk-(?<jdk>[\\d.]+)(?:(?<b>-[\\d+])|-ga))/(?<filename>Alibaba_Dragonwell_Standard_(?:[\\d.+]+)_x64_windows)\\.zip",
|
|
"replace": "${dragon}-${jdk}${b}"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/dragonwell-project/dragonwell21/releases/download/$matchTag/$matchFilename.zip"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "$url.sha256.txt",
|
|
"regex": "$sha256"
|
|
}
|
|
}
|
|
}
|