mirror of
https://github.com/ScoopInstaller/Java.git
synced 2026-08-02 16:09:23 +08:00
43 lines
1.8 KiB
JSON
43 lines
1.8 KiB
JSON
{
|
|
"description": "BellSoft Liberica is a 100% open-source Java 17 implementation",
|
|
"homepage": "https://bell-sw.com/java",
|
|
"version": "17.0.20-10",
|
|
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/bell-sw/Liberica/releases/download/17.0.20%2B10/bellsoft-jdk17.0.20%2B10-windows-amd64-lite.zip",
|
|
"hash": "sha1:f5f55178432f30b334215a5e7cfeabf373f2e0a1"
|
|
},
|
|
"32bit": {
|
|
"url": "https://github.com/bell-sw/Liberica/releases/download/17.0.20%2B10/bellsoft-jdk17.0.20%2B10-windows-i586-lite.zip",
|
|
"hash": "sha1:4f6ef789025daaa5cf7dffb96393ceade4a35ba7"
|
|
}
|
|
},
|
|
"extract_dir": "jdk-17.0.20-lite",
|
|
"env_add_path": "bin",
|
|
"env_set": {
|
|
"JAVA_HOME": "$dir"
|
|
},
|
|
"checkver": {
|
|
"url": "https://api.bell-sw.com/v1/liberica/releases?version-feature=17&bundle-type=jdk-lite&version-modifier=latest&release-type=all&os=windows&arch=x86&installation-type=archive&package-type=zip&output=json&fields=version",
|
|
"jsonpath": "$[*].version",
|
|
"regex": "(?<major>[\\d.]+)(?:\\+)(?<build>[\\d]+)",
|
|
"replace": "${major}-${build}"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/bell-sw/Liberica/releases/download/$matchMajor%2B$matchBuild/bellsoft-jdk$matchMajor%2B$matchBuild-windows-amd64-lite.zip"
|
|
},
|
|
"32bit": {
|
|
"url": "https://github.com/bell-sw/Liberica/releases/download/$matchMajor%2B$matchBuild/bellsoft-jdk$matchMajor%2B$matchBuild-windows-i586-lite.zip"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "https://api.bell-sw.com/v1/liberica/releases/$basename",
|
|
"jsonpath": "$.sha1"
|
|
},
|
|
"extract_dir": "jdk-$matchMajor-lite"
|
|
}
|
|
}
|