Skip to content

Commit 4c0cfe0

Browse files
committed
temurin: Add version 26
1 parent 45af0df commit 4c0cfe0

2 files changed

Lines changed: 80 additions & 0 deletions

File tree

bucket/temurin26-jdk.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"description": "Eclipse Temurin is a runtime provided by Eclipse Adoptium for general use across the Java ecosystem",
3+
"homepage": "https://adoptium.net",
4+
"version": "26.0.0-35",
5+
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
6+
"architecture": {
7+
"64bit": {
8+
"url": "https://github.com/adoptium/temurin26-binaries/releases/download/jdk-26+35/OpenJDK26U-jdk_x64_windows_hotspot_26_35.zip",
9+
"hash": "f36dbdfbd36401d6bf34c418e6405aedc17296cc72ec8335b5754d90e47aec64"
10+
}
11+
},
12+
"extract_dir": "jdk-26+35",
13+
"env_add_path": "bin",
14+
"env_set": {
15+
"JAVA_HOME": "$dir"
16+
},
17+
"checkver": {
18+
"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",
19+
"script": [
20+
"$ver = (json_path $page $..version_data.semver).replace('+', '-')",
21+
"$link = (json_path $page $..release_link).replace('%2B', '+')",
22+
"$name = json_path $page $..binaries[0].package.name",
23+
"Write-Output \"$ver $link $name\""
24+
],
25+
"regex": "(?<ver>.*?) https://github.com/(?<link>.*?)/tag/(?<tag>.*?) (?<name>(?<prefix>OpenJDK[\\dU]*-[dejkr]{3})_x64_(?<suffix>.*))",
26+
"replace": "${ver}"
27+
},
28+
"autoupdate": {
29+
"architecture": {
30+
"64bit": {
31+
"url": "https://github.com/$matchLink/download/$matchTag/$matchName"
32+
}
33+
},
34+
"hash": {
35+
"url": "$url.sha256.txt",
36+
"regex": "^([a-fA-F0-9]+)\\s"
37+
},
38+
"extract_dir": "$matchTag"
39+
}
40+
}

bucket/temurin26-jre.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"description": "Eclipse Temurin is a runtime provided by Eclipse Adoptium for general use across the Java ecosystem",
3+
"homepage": "https://adoptium.net",
4+
"version": "26.0.0-35",
5+
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
6+
"architecture": {
7+
"64bit": {
8+
"url": "https://github.com/adoptium/temurin26-binaries/releases/download/jdk-26+35/OpenJDK26U-jre_x64_windows_hotspot_26_35.zip",
9+
"hash": "5b776c83068703c4f6b52545673161981a74262d9751aba7eaa87b38a19beb8d"
10+
}
11+
},
12+
"extract_dir": "jdk-26+35-jre",
13+
"env_add_path": "bin",
14+
"env_set": {
15+
"JAVA_HOME": "$dir"
16+
},
17+
"checkver": {
18+
"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",
19+
"script": [
20+
"$ver = (json_path $page $..version_data.semver).replace('+', '-')",
21+
"$link = (json_path $page $..release_link).replace('%2B', '+')",
22+
"$name = json_path $page $..binaries[0].package.name",
23+
"Write-Output \"$ver $link $name\""
24+
],
25+
"regex": "(?<ver>.*?) https://github.com/(?<link>.*?)/tag/(?<tag>.*?) (?<name>(?<prefix>OpenJDK[\\dU]*-[dejkr]{3})_x64_(?<suffix>.*))",
26+
"replace": "${ver}"
27+
},
28+
"autoupdate": {
29+
"architecture": {
30+
"64bit": {
31+
"url": "https://github.com/$matchLink/download/$matchTag/$matchName"
32+
}
33+
},
34+
"hash": {
35+
"url": "$url.sha256.txt",
36+
"regex": "^([a-fA-F0-9]+)\\s"
37+
},
38+
"extract_dir": "$matchTag-jre"
39+
}
40+
}

0 commit comments

Comments
 (0)