Add SapMachine 15

This commit is contained in:
Mathias Hermansson 2020-02-13 11:22:35 +01:00 committed by GitHub
commit cc13647568
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

34
bucket/sapmachine15.json Normal file
View File

@ -0,0 +1,34 @@
{
"description": "SapMachine 15: An OpenJDK release maintained and supported by SAP",
"homepage": "https://sap.github.io/SapMachine/",
"version": "15-1-ea",
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
"architecture": {
"64bit": {
"url": "https://github.com/SAP/SapMachine/releases/download//sapmachine-15%2B1/sapmachine-jdk-15-ea.1_windows-x64_bin.zip",
"hash": "81a56392f79f3cea0be6bf91485dec840e9a482dac6daa0946fc1775e46aa4e7"
}
},
"extract_dir": "sapmachine-jdk-15",
"env_add_path": "bin",
"env_set": {
"JAVA_HOME": "$dir"
},
"checkver": {
"url": "https://api.github.com/repos/SAP/SapMachine/releases",
"re": "(?<sap>/sapmachine-(?:15[\\d.]*)(?:\\%2B|\\+)?(?:[\\d]*)/sapmachine-jdk-(?<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-jdk-$matchVersion"
}
}