mirror of
https://github.com/ScoopInstaller/Java.git
synced 2026-08-02 16:09:23 +08:00
40 lines
1.5 KiB
JSON
40 lines
1.5 KiB
JSON
{
|
|
"description": "Alibaba Dragonwell, a downstream version of OpenJDK, is the in-house OpenJDK implementation at Alibaba",
|
|
"version": "8.29.28-8.0.492",
|
|
"homepage": "https://dragonwell-jdk.io/",
|
|
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/dragonwell-project/dragonwell8/releases/download/dragonwell-standard-8.29.28_jdk8u492-ga/Alibaba_Dragonwell_Standard_8.29.28_x64_windows.zip",
|
|
"hash": "89bb8bd6ec5f4fdb77d303ad1d8ea530b85b384a646fe214c11547a51adb5bdb"
|
|
}
|
|
},
|
|
"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/dragonwell8",
|
|
"regex": "(?<tag>dragonwell-standard-(?<dragon>[\\d.]+)_jdk8u(?<jdk>[\\d]+)(?:(?<b>-[\\d+])|-ga))",
|
|
"replace": "${dragon}-8.0.${jdk}${b}"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/dragonwell-project/dragonwell8/releases/download/$matchTag/Alibaba_Dragonwell_Standard_$matchDragon_x64_windows.zip"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "$url.sha256.txt",
|
|
"regex": "$sha256"
|
|
}
|
|
}
|
|
}
|