Java/bucket/sapmachine18-jre.json
2022-08-23 23:05:33 +02:00

36 lines
1.4 KiB
JSON

{
"description": "SapMachine 17: An OpenJDK release maintained and supported by SAP",
"homepage": "https://sap.github.io/SapMachine/",
"version": "18.0.2.1",
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
"architecture": {
"64bit": {
"url": "https://github.com/SAP/SapMachine/releases/download//sapmachine-18.0.2.1/sapmachine-jre-18.0.2.1_windows-x64_bin.zip",
"hash": "a59a8a19b1e487cd463d2be5a4fe73f989cb58f48cbec0389164c2acfb129f0c"
}
},
"extract_dir": "sapmachine-jre-18.0.2.1",
"env_add_path": "bin",
"env_set": {
"JAVA_HOME": "$dir"
},
"checkver": {
"url": "https://sap.github.io/SapMachine/assets/data/sapmachine_releases.json",
"jsonpath": "$.assets.18.releases[0].jre.windows-x64",
"re": "(?<sap>/sapmachine-(?:[\\d.]+)(?:\\%2B|\\+)?(?:[\\d]*)/sapmachine-jre-(?<version>[\\d.]+)(?:(?<dash>-)(?<ea>ea)\\.(?<build>[\\d]+))?_windows-x64_bin).zip",
"replace": "${version}${dash}${build}${dash}${ea}"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/SAP/SapMachine/releases/download/$matchSap.zip"
}
},
"hash": {
"url": "https://github.com/SAP/SapMachine/releases/download/$matchSap.sha256.txt",
"find": "^($sha256)\\s"
},
"extract_dir": "sapmachine-jre-$matchVersion"
}
}