diff --git a/bucket/temurin25-jdk.json b/bucket/temurin25-jdk.json new file mode 100644 index 00000000000..09a6c14343c --- /dev/null +++ b/bucket/temurin25-jdk.json @@ -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": "25.0.0-36", + "license": "GPL-2.0-only WITH Classpath-exception-2.0", + "architecture": { + "64bit": { + "url": "https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25%2B36/OpenJDK25U-jdk_x64_windows_hotspot_25_36.zip", + "hash": "ff76428a600a0925abbfb1dc55da30828b500f8038a13679a8c75b37892a96c3" + } + }, + "extract_dir": "jdk-25+36", + "env_add_path": "bin", + "env_set": { + "JAVA_HOME": "$dir" + }, + "checkver": { + "url": "https://api.adoptium.net/v3/assets/feature_releases/25/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": "(?.*?) https://github.com/(?.*?)/tag/(?.*?) (?(?OpenJDK[\\dU]*-[dejkr]{3})_x64_(?.*))", + "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" + } +} diff --git a/bucket/temurin25-jre.json b/bucket/temurin25-jre.json new file mode 100644 index 00000000000..3f221be8c90 --- /dev/null +++ b/bucket/temurin25-jre.json @@ -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": "25.0.0-36", + "license": "GPL-2.0-only WITH Classpath-exception-2.0", + "architecture": { + "64bit": { + "url": "https://github.com/adoptium/temurin25-binaries/releases/download/jdk-25%2B36/OpenJDK25U-jre_x64_windows_hotspot_25_36.zip", + "hash": "66abb3213ce984ecb7b3ae7edfeac2d58622297f8c114eb467518dd63e42aa3f" + } + }, + "extract_dir": "jdk-25+36-jre", + "env_add_path": "bin", + "env_set": { + "JAVA_HOME": "$dir" + }, + "checkver": { + "url": "https://api.adoptium.net/v3/assets/feature_releases/25/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": "(?.*?) https://github.com/(?.*?)/tag/(?.*?) (?(?OpenJDK[\\dU]*-[dejkr]{3})_x64_(?.*))", + "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" + } +}