diff --git a/bucket/sapmachine15.json b/bucket/sapmachine15.json new file mode 100644 index 000000000..726f94720 --- /dev/null +++ b/bucket/sapmachine15.json @@ -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": "(?/sapmachine-(?:15[\\d.]*)(?:\\%2B|\\+)?(?:[\\d]*)/sapmachine-jdk-(?[\\d.]+)(?:(?-)(?ea)\\.(?[\\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" + } +}