mirror of
https://github.com/ScoopInstaller/Java.git
synced 2026-08-17 01:15:30 +08:00
Add OpenJDK 15
This commit is contained in:
parent
24fcfb4a82
commit
42ca4e9a7d
32
bucket/openjdk15.json
Normal file
32
bucket/openjdk15.json
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
"description": "Official production-ready open-source builds of OpenJDK 15",
|
||||
"homepage": "https://jdk.java.net/15",
|
||||
"version": "15-3-ea",
|
||||
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
|
||||
"architecture": {
|
||||
"64bit": {
|
||||
"url": "https://download.java.net/java/early_access/jdk15/3/GPL/openjdk-15-ea+3_windows-x64_bin.zip",
|
||||
"hash": "f5fa522efcff995e783f91a964103bced301c4d4deb6ab3bd231367f0e14a30a"
|
||||
}
|
||||
},
|
||||
"extract_dir": "jdk-15",
|
||||
"env_add_path": "bin",
|
||||
"env_set": {
|
||||
"JAVA_HOME": "$dir"
|
||||
},
|
||||
"checkver": {
|
||||
"re": "/(?<type>early_access|GA)/(?<path>jdk(?<major>[\\d.]+)(?:.*)?/(?<build>[\\d]+)(?:/GPL|/binaries)?)/(?<file>openjdk-(?<version>[\\d.]+)(?<ea>-ea)?(?:\\+[\\d]+)?_windows-x64_bin.(zip|tar.gz))",
|
||||
"replace": "${version}-${build}${ea}"
|
||||
},
|
||||
"autoupdate": {
|
||||
"architecture": {
|
||||
"64bit": {
|
||||
"url": "https://download.java.net/java/$matchType/$matchPath/$matchFile"
|
||||
}
|
||||
},
|
||||
"hash": {
|
||||
"url": "$url.sha256"
|
||||
},
|
||||
"extract_dir": "jdk-$matchVersion"
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user