mirror of
https://github.com/ScoopInstaller/Java.git
synced 2026-08-03 09:39:21 +08:00
temurin26: Add version 26 (#586)
This commit is contained in:
parent
c22c45ae20
commit
c6b15e2351
40
bucket/temurin26-jdk.json
Normal file
40
bucket/temurin26-jdk.json
Normal file
@ -0,0 +1,40 @@
|
||||
{
|
||||
"description": "Eclipse Temurin is a runtime provided by Eclipse Adoptium for general use across the Java ecosystem",
|
||||
"homepage": "https://adoptium.net",
|
||||
"version": "26.0.0-35",
|
||||
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
|
||||
"architecture": {
|
||||
"64bit": {
|
||||
"url": "https://github.com/adoptium/temurin26-binaries/releases/download/jdk-26+35/OpenJDK26U-jdk_x64_windows_hotspot_26_35.zip",
|
||||
"hash": "f36dbdfbd36401d6bf34c418e6405aedc17296cc72ec8335b5754d90e47aec64"
|
||||
}
|
||||
},
|
||||
"extract_dir": "jdk-26+35",
|
||||
"env_add_path": "bin",
|
||||
"env_set": {
|
||||
"JAVA_HOME": "$dir"
|
||||
},
|
||||
"checkver": {
|
||||
"url": "https://api.adoptium.net/v3/assets/feature_releases/26/ga?jvm_impl=hotspot&heap_size=normal&os=windows&architecture=x64&image_type=jdk&project=jdk&vendor=eclipse&page_size=1&sort_order=DESC",
|
||||
"script": [
|
||||
"$ver = (json_path $page $..version_data.semver).replace('+', '-')",
|
||||
"$link = (json_path $page $..release_link).replace('%2B', '+')",
|
||||
"$name = json_path $page $..binaries[0].package.name",
|
||||
"Write-Output \"$ver $link $name\""
|
||||
],
|
||||
"regex": "(?<ver>.*?) https://github.com/(?<link>.*?)/tag/(?<tag>.*?) (?<name>(?<prefix>OpenJDK[\\dU]*-[dejkr]{3})_x64_(?<suffix>.*))",
|
||||
"replace": "${ver}"
|
||||
},
|
||||
"autoupdate": {
|
||||
"architecture": {
|
||||
"64bit": {
|
||||
"url": "https://github.com/$matchLink/download/$matchTag/$matchName"
|
||||
}
|
||||
},
|
||||
"hash": {
|
||||
"url": "$url.sha256.txt",
|
||||
"regex": "^([a-fA-F0-9]+)\\s"
|
||||
},
|
||||
"extract_dir": "$matchTag"
|
||||
}
|
||||
}
|
||||
40
bucket/temurin26-jre.json
Normal file
40
bucket/temurin26-jre.json
Normal file
@ -0,0 +1,40 @@
|
||||
{
|
||||
"description": "Eclipse Temurin is a runtime provided by Eclipse Adoptium for general use across the Java ecosystem",
|
||||
"homepage": "https://adoptium.net",
|
||||
"version": "26.0.0-35",
|
||||
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
|
||||
"architecture": {
|
||||
"64bit": {
|
||||
"url": "https://github.com/adoptium/temurin26-binaries/releases/download/jdk-26+35/OpenJDK26U-jre_x64_windows_hotspot_26_35.zip",
|
||||
"hash": "5b776c83068703c4f6b52545673161981a74262d9751aba7eaa87b38a19beb8d"
|
||||
}
|
||||
},
|
||||
"extract_dir": "jdk-26+35-jre",
|
||||
"env_add_path": "bin",
|
||||
"env_set": {
|
||||
"JAVA_HOME": "$dir"
|
||||
},
|
||||
"checkver": {
|
||||
"url": "https://api.adoptium.net/v3/assets/feature_releases/26/ga?jvm_impl=hotspot&heap_size=normal&os=windows&architecture=x64&image_type=jre&project=jdk&vendor=eclipse&page_size=1&sort_order=DESC",
|
||||
"script": [
|
||||
"$ver = (json_path $page $..version_data.semver).replace('+', '-')",
|
||||
"$link = (json_path $page $..release_link).replace('%2B', '+')",
|
||||
"$name = json_path $page $..binaries[0].package.name",
|
||||
"Write-Output \"$ver $link $name\""
|
||||
],
|
||||
"regex": "(?<ver>.*?) https://github.com/(?<link>.*?)/tag/(?<tag>.*?) (?<name>(?<prefix>OpenJDK[\\dU]*-[dejkr]{3})_x64_(?<suffix>.*))",
|
||||
"replace": "${ver}"
|
||||
},
|
||||
"autoupdate": {
|
||||
"architecture": {
|
||||
"64bit": {
|
||||
"url": "https://github.com/$matchLink/download/$matchTag/$matchName"
|
||||
}
|
||||
},
|
||||
"hash": {
|
||||
"url": "$url.sha256.txt",
|
||||
"regex": "^([a-fA-F0-9]+)\\s"
|
||||
},
|
||||
"extract_dir": "$matchTag-jre"
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user