mirror of
https://github.com/ScoopInstaller/Java.git
synced 2026-08-07 17:07:23 +08:00
openjdk20: Add version 20-5-ea (#408)
This commit is contained in:
parent
c052b02295
commit
68f1160146
@ -15,7 +15,7 @@
|
||||
"JAVA_HOME": "$dir"
|
||||
},
|
||||
"checkver": {
|
||||
"url": "https://jdk.java.net/19",
|
||||
"url": "https://jdk.java.net/20",
|
||||
"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}"
|
||||
},
|
||||
|
||||
32
bucket/openjdk20.json
Normal file
32
bucket/openjdk20.json
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
"description": "Official production-ready open-source builds of OpenJDK 20",
|
||||
"homepage": "https://jdk.java.net/20",
|
||||
"version": "20-5-ea",
|
||||
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
|
||||
"architecture": {
|
||||
"64bit": {
|
||||
"url": "https://download.java.net/java/early_access/jdk20/5/GPL/openjdk-20-ea+5_windows-x64_bin.zip",
|
||||
"hash": "4d35001bc8934fc139c19f7b9d1584aacc81f395d24890094196b54d9f7e787a"
|
||||
}
|
||||
},
|
||||
"extract_dir": "jdk-20",
|
||||
"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