mirror of
https://github.com/ScoopInstaller/Java.git
synced 2026-08-12 06:16:26 +08:00
temurin: Add version 24 (#544)
This commit is contained in:
parent
ddfcf48007
commit
a415b9b377
40
bucket/temurin24-jdk.json
Normal file
40
bucket/temurin24-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": "24.0.0-36",
|
||||
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
|
||||
"architecture": {
|
||||
"64bit": {
|
||||
"url": "https://github.com/adoptium/temurin24-binaries/releases/download/jdk-24+36/OpenJDK24U-jdk_x64_windows_hotspot_24_36.zip",
|
||||
"hash": "4c27c9f5ddf12b2b8cdd3e1c57938976847db0dc7c4438dd8df8f29d1e798244"
|
||||
}
|
||||
},
|
||||
"extract_dir": "jdk-24+36",
|
||||
"env_add_path": "bin",
|
||||
"env_set": {
|
||||
"JAVA_HOME": "$dir"
|
||||
},
|
||||
"checkver": {
|
||||
"url": "https://api.adoptium.net/v3/assets/feature_releases/24/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/temurin24-jre.json
Normal file
40
bucket/temurin24-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": "24.0.0-36",
|
||||
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
|
||||
"architecture": {
|
||||
"64bit": {
|
||||
"url": "https://github.com/adoptium/temurin24-binaries/releases/download/jdk-24+36/OpenJDK24U-jre_x64_windows_hotspot_24_36.zip",
|
||||
"hash": "2756322cf23b78bfaf4412646c852bd906ea1cc861208610b0b8f16fc91bca74"
|
||||
}
|
||||
},
|
||||
"extract_dir": "jdk-24+36-jre",
|
||||
"env_add_path": "bin",
|
||||
"env_set": {
|
||||
"JAVA_HOME": "$dir"
|
||||
},
|
||||
"checkver": {
|
||||
"url": "https://api.adoptium.net/v3/assets/feature_releases/24/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