mirror of
https://github.com/ScoopInstaller/Java.git
synced 2026-08-12 06:16:26 +08:00
openjdk*: Manifest maintenance (#261)
* openjdk17: Add manifest * openjdk15: Disable autoupdate
This commit is contained in:
parent
657ecffc95
commit
06a38cd8f6
@ -13,20 +13,5 @@
|
||||
"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"
|
||||
}
|
||||
}
|
||||
|
||||
32
bucket/openjdk17.json
Normal file
32
bucket/openjdk17.json
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
"description": "Official production-ready open-source builds of OpenJDK 17",
|
||||
"homepage": "https://jdk.java.net/17",
|
||||
"version": "17-16-ea",
|
||||
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
|
||||
"architecture": {
|
||||
"64bit": {
|
||||
"url": "https://download.java.net/java/early_access/jdk17/16/GPL/openjdk-17-ea+16_windows-x64_bin.zip",
|
||||
"hash": "379902e2bc2ba208dde73bd389a92ad85903ec047352eb4dd06d93dc84e772ad"
|
||||
}
|
||||
},
|
||||
"extract_dir": "jdk-17",
|
||||
"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