From eeceafeb845d4f517e391856b3795a0a075f1615 Mon Sep 17 00:00:00 2001 From: David Xuang Date: Tue, 1 Feb 2022 15:25:25 +0800 Subject: [PATCH] temurin17-jre: Add version 17.0.1-12 (#362) * temurin17-jre: Add version 17.0.1-12 * Create temurin-lts-jre.json * Update temurin-lts-jre.json * Rename temurin17-jre to temurin17-jre.json * Create temurin-jre.json --- bucket/temurin-jre.json | 42 +++++++++++++++++++++++++++++++++++++ bucket/temurin-lts-jre.json | 42 +++++++++++++++++++++++++++++++++++++ bucket/temurin17-jre.json | 42 +++++++++++++++++++++++++++++++++++++ 3 files changed, 126 insertions(+) create mode 100644 bucket/temurin-jre.json create mode 100644 bucket/temurin-lts-jre.json create mode 100644 bucket/temurin17-jre.json diff --git a/bucket/temurin-jre.json b/bucket/temurin-jre.json new file mode 100644 index 00000000000..10132d75a06 --- /dev/null +++ b/bucket/temurin-jre.json @@ -0,0 +1,42 @@ +{ + "description": "Eclipse Temurin is a runtime provided by Eclipse Adoptium for general use across the Java ecosystem", + "homepage": "https://adoptium.net", + "version": "17.0.1-12", + "license": "GPL-2.0-only WITH Classpath-exception-2.0", + "architecture": { + "64bit": { + "url": "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.1%2B12/OpenJDK17U-jdk_x64_windows_hotspot_17.0.1_12.zip", + "hash": "e5419773052ac6479ff211d5945f8625e0cdb036e69c0f71affaf02d5dc9aa0b" + }, + "32bit": { + "url": "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.1%2B12/OpenJDK17U-jdk_x86-32_windows_hotspot_17.0.1_12.zip", + "hash": "604919b02caa5506e8c68888d6410384234e9a9fb0dbc6a0d97eb7652da4cf66" + } + }, + "extract_dir": "jdk-17.0.1+12", + "env_add_path": "bin", + "env_set": { + "JAVA_HOME": "$dir" + }, + "checkver": { + "url": "https://api.adoptium.net/v3/assets/version/%5B8%2C%29?release_type=ga&jvm_impl=hotspot&heap_size=normal&os=windows&architecture=x64&image_type=jdk&project=jdk&vendor=eclipse&page_size=1&sort_order=DESC", + "jp": "$..binaries[0].package.link", + "regex": "https://github.com/(?.*?(?jdk-(?(?[\\d]+)[\\d.]*)(?:\\%2B|\\+)(?[\\d]+)(?[\\d.]*)))/OpenJDK(?:[\\d]+)(?U?)", + "replace": "${major}-${build}${patch}" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://github.com/$matchUrl/OpenJDK$matchJdk$matchUpdate-jdk_x64_windows_hotspot_$matchMajor_$matchBuild.zip" + }, + "32bit": { + "url": "https://github.com/$matchUrl/OpenJDK$matchJdk$matchUpdate-jdk_x86-32_windows_hotspot_$matchMajor_$matchBuild.zip" + } + }, + "hash": { + "url": "$url.sha256.txt", + "find": "^([a-fA-F0-9]+)\\s" + }, + "extract_dir": "jdk-$matchMajor+$matchBuild" + } +} diff --git a/bucket/temurin-lts-jre.json b/bucket/temurin-lts-jre.json new file mode 100644 index 00000000000..933ec2883db --- /dev/null +++ b/bucket/temurin-lts-jre.json @@ -0,0 +1,42 @@ +{ + "description": "Eclipse Temurin is a runtime provided by Eclipse Adoptium for general use across the Java ecosystem", + "homepage": "https://adoptium.net", + "version": "17.0.1-12", + "license": "GPL-2.0-only WITH Classpath-exception-2.0", + "architecture": { + "64bit": { + "url": "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.1%2B12/OpenJDK17U-jre_x64_windows_hotspot_17.0.1_12.zip", + "hash": "14e36001bddb80379afb993e54366385e4d9a9daaee1117bf857f3840c53ddbc" + }, + "32bit": { + "url": "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.1%2B12/OpenJDK17U-jre_x86-32_windows_hotspot_17.0.1_12.zip", + "hash": "f4bb1323cb34cdb42b92d825fe36fddd78b274f071b8971c5207a66a0e82748a" + } + }, + "extract_dir": "jdk-17.0.1+12-jre", + "env_add_path": "bin", + "env_set": { + "JAVA_HOME": "$dir" + }, + "checkver": { + "url": "https://api.adoptium.net/v3/assets/version/%5B8%2C%29?release_type=ga<s=true&jvm_impl=hotspot&heap_size=normal&os=windows&architecture=x64&image_type=jre&project=jdk&vendor=eclipse&page_size=1&sort_order=DESC", + "jp": "$..binaries[0].package.link", + "regex": "https://github.com/(?.*?(?jdk-(?(?[\\d]+)[\\d.]*)(?:\\%2B|\\+)(?[\\d]+)(?[\\d.]*)))/OpenJDK(?:[\\d]+)(?U?)", + "replace": "${major}-${build}${patch}" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://github.com/$matchUrl/OpenJDK$matchJdk$matchUpdate-jre_x64_windows_hotspot_$matchMajor_$matchBuild.zip" + }, + "32bit": { + "url": "https://github.com/$matchUrl/OpenJDK$matchJdk$matchUpdate-jre_x86-32_windows_hotspot_$matchMajor_$matchBuild.zip" + } + }, + "hash": { + "url": "$url.sha256.txt", + "find": "^([a-fA-F0-9]+)\\s" + }, + "extract_dir": "jdk-$matchMajor+$matchBuild-jre" + } +} diff --git a/bucket/temurin17-jre.json b/bucket/temurin17-jre.json new file mode 100644 index 00000000000..6ba2ce599ca --- /dev/null +++ b/bucket/temurin17-jre.json @@ -0,0 +1,42 @@ +{ + "description": "Eclipse Temurin is a runtime provided by Eclipse Adoptium for general use across the Java ecosystem", + "homepage": "https://adoptium.net", + "version": "17.0.1-12", + "license": "GPL-2.0-only WITH Classpath-exception-2.0", + "architecture": { + "64bit": { + "url": "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.1%2B12/OpenJDK17U-jre_x64_windows_hotspot_17.0.1_12.zip", + "hash": "14e36001bddb80379afb993e54366385e4d9a9daaee1117bf857f3840c53ddbc" + }, + "32bit": { + "url": "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.1%2B12/OpenJDK17U-jre_x86-32_windows_hotspot_17.0.1_12.zip", + "hash": "f4bb1323cb34cdb42b92d825fe36fddd78b274f071b8971c5207a66a0e82748a" + } + }, + "extract_dir": "jdk-17.0.1+12-jre", + "env_add_path": "bin", + "env_set": { + "JAVA_HOME": "$dir" + }, + "checkver": { + "url": "https://api.adoptium.net/v3/assets/feature_releases/17/ga?jvm_impl=hotspot&heap_size=normal&os=windows&architecture=x64&image_type=jre&project=jdk&vendor=eclipse&page_size=1&sort_order=DESC", + "jsonpath": "$..binaries[0].package.link", + "regex": "https://github.com/(?.*?(?jdk-(?(?[\\d]+)[\\d.]*)(?:\\%2B|\\+)(?[\\d]+)(?[\\d.]*)))/OpenJDK(?:[\\d]+)(?U?)", + "replace": "${major}-${build}${patch}" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://github.com/$matchUrl/OpenJDK$matchJdk$matchUpdate-jre_x64_windows_hotspot_$matchMajor_$matchBuild.zip" + }, + "32bit": { + "url": "https://github.com/$matchUrl/OpenJDK$matchJdk$matchUpdate-jre_x86-32_windows_hotspot_$matchMajor_$matchBuild.zip" + } + }, + "hash": { + "url": "$url.sha256.txt", + "find": "^([a-fA-F0-9]+)\\s" + }, + "extract_dir": "jdk-$matchMajor+$matchBuild-jre" + } +}