mirror of
https://github.com/ScoopInstaller/Java.git
synced 2026-08-12 16:08:39 +08:00
Add SapMachine 15
This commit is contained in:
commit
cc13647568
34
bucket/sapmachine15.json
Normal file
34
bucket/sapmachine15.json
Normal 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"
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user