From 37d55d735285a053e9f8cccf0aacfd2d1683fd79 Mon Sep 17 00:00:00 2001 From: Mathias Hermansson Date: Thu, 7 Oct 2021 15:05:14 +0200 Subject: [PATCH] temurin*: Add manifests (#326) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Create temurin11-jdk.json * Add Eclipse Temurin releases 🚀 * Updating Temurin LTS to JDK17 (Adoptium API's updated on 2021-09-26) * temurin: Add manifests Co-authored-by: Huka Co-authored-by: d3vel0per --- bucket/temurin-jdk.json | 35 +++++++++++++++++++++++++++++++ bucket/temurin-lts-jdk.json | 35 +++++++++++++++++++++++++++++++ bucket/temurin11-jdk.json | 42 +++++++++++++++++++++++++++++++++++++ bucket/temurin16-jdk.json | 42 +++++++++++++++++++++++++++++++++++++ bucket/temurin17-jdk.json | 42 +++++++++++++++++++++++++++++++++++++ 5 files changed, 196 insertions(+) create mode 100644 bucket/temurin-jdk.json create mode 100644 bucket/temurin-lts-jdk.json create mode 100644 bucket/temurin11-jdk.json create mode 100644 bucket/temurin16-jdk.json create mode 100644 bucket/temurin17-jdk.json diff --git a/bucket/temurin-jdk.json b/bucket/temurin-jdk.json new file mode 100644 index 000000000..bf3fad263 --- /dev/null +++ b/bucket/temurin-jdk.json @@ -0,0 +1,35 @@ +{ + "description": "Eclipse Temurin is a runtime provided by Eclipse Adoptium for general use across the Java ecosystem", + "homepage": "https://adoptium.net", + "version": "17-35", + "license": "GPL-2.0-only WITH Classpath-exception-2.0", + "architecture": { + "64bit": { + "url": "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17%2B35/OpenJDK17-jdk_x64_windows_hotspot_17_35.zip", + "hash": "79e1c949f8301eb0a5979bc245829a4419507d7f6ac567c870e5986daf48c1db" + } + }, + "extract_dir": "jdk-17+35", + "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=adoptium&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-jdk_x64_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-jdk.json b/bucket/temurin-lts-jdk.json new file mode 100644 index 000000000..ed6e09fbd --- /dev/null +++ b/bucket/temurin-lts-jdk.json @@ -0,0 +1,35 @@ +{ + "description": "Eclipse Temurin is a runtime provided by Eclipse Adoptium for general use across the Java ecosystem", + "homepage": "https://adoptium.net", + "version": "17-35", + "license": "GPL-2.0-only WITH Classpath-exception-2.0", + "architecture": { + "64bit": { + "url": "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17%2B35/OpenJDK17-jdk_x64_windows_hotspot_17_35.zip", + "hash": "79e1c949f8301eb0a5979bc245829a4419507d7f6ac567c870e5986daf48c1db" + } + }, + "extract_dir": "jdk-17+35", + "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=jdk&project=jdk&vendor=adoptium&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" + } + }, + "hash": { + "url": "$url.sha256.txt", + "find": "^([a-fA-F0-9]+)\\s" + }, + "extract_dir": "jdk-$matchMajor+$matchBuild" + } +} diff --git a/bucket/temurin11-jdk.json b/bucket/temurin11-jdk.json new file mode 100644 index 000000000..f0dc7176a --- /dev/null +++ b/bucket/temurin11-jdk.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": "11.0.12-7", + "license": "GPL-2.0-only WITH Classpath-exception-2.0", + "architecture": { + "64bit": { + "url": "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.12%2B7/OpenJDK11U-jdk_x64_windows_hotspot_11.0.12_7.zip", + "hash": "c54123dd4b0d6473221539e7003b8ca1c1757c5588c46465565b03bf8781f807" + }, + "32bit": { + "url": "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.12%2B7/OpenJDK11U-jdk_x86-32_windows_hotspot_11.0.12_7.zip", + "hash": "d13946579734f643236ca5a459ccb8d6131d5a2b6b591fc24a58405ce9aff8d1" + } + }, + "extract_dir": "jdk-11.0.12+7", + "env_add_path": "bin", + "env_set": { + "JAVA_HOME": "$dir" + }, + "checkver": { + "url": "https://api.adoptium.net/v3/assets/feature_releases/11/ga?jvm_impl=hotspot&heap_size=normal&os=windows&architecture=x64&image_type=jdk&project=jdk&vendor=adoptium&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-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/temurin16-jdk.json b/bucket/temurin16-jdk.json new file mode 100644 index 000000000..68a731832 --- /dev/null +++ b/bucket/temurin16-jdk.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": "16.0.2-7", + "license": "GPL-2.0-only WITH Classpath-exception-2.0", + "architecture": { + "64bit": { + "url": "https://github.com/adoptium/temurin16-binaries/releases/download/jdk-16.0.2%2B7/OpenJDK16U-jdk_x64_windows_hotspot_16.0.2_7.zip", + "hash": "40191ffbafd8a6f9559352d8de31e8d22a56822fb41bbcf45f34e3fd3afa5f9e" + }, + "32bit": { + "url": "https://github.com/adoptium/temurin16-binaries/releases/download/jdk-16.0.2%2B7/OpenJDK16U-jdk_x86-32_windows_hotspot_16.0.2_7.zip", + "hash": "eb2d1bed9b69b43024bff26fc8966f9c8c23c5e499a52104c956fb84c62a28d4" + } + }, + "extract_dir": "jdk-16.0.2+7", + "env_add_path": "bin", + "env_set": { + "JAVA_HOME": "$dir" + }, + "checkver": { + "url": "https://api.adoptium.net/v3/assets/feature_releases/16/ga?jvm_impl=hotspot&heap_size=normal&os=windows&architecture=x64&image_type=jdk&project=jdk&vendor=adoptium&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-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/temurin17-jdk.json b/bucket/temurin17-jdk.json new file mode 100644 index 000000000..61aff3cdd --- /dev/null +++ b/bucket/temurin17-jdk.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-35", + "license": "GPL-2.0-only WITH Classpath-exception-2.0", + "architecture": { + "64bit": { + "url": "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17%2B35/OpenJDK17-jdk_x64_windows_hotspot_17_35.zip", + "hash": "79e1c949f8301eb0a5979bc245829a4419507d7f6ac567c870e5986daf48c1db" + }, + "32bit": { + "url": "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17%2B35/OpenJDK17-jdk_x86-32_windows_hotspot_17_35.zip", + "hash": "fa867167917a4696be611e63b77a334ad6aad38fc43d22285cbce1baaf77906e" + } + }, + "extract_dir": "jdk-17+35", + "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=jdk&project=jdk&vendor=adoptium&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-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" + } +}