Skip to content

Commit

Permalink
temurin17-jre: Add version 17.0.1-12 (#362)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
davidxuang authored Feb 1, 2022
1 parent 965cc2e commit eeceafe
Show file tree
Hide file tree
Showing 3 changed files with 126 additions and 0 deletions.
42 changes: 42 additions & 0 deletions bucket/temurin-jre.json
Original file line number Diff line number Diff line change
@@ -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/(?<url>.*?(?<tag>jdk-(?<major>(?<jdk>[\\d]+)[\\d.]*)(?:\\%2B|\\+)(?<build>[\\d]+)(?<patch>[\\d.]*)))/OpenJDK(?:[\\d]+)(?<update>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"
}
}
42 changes: 42 additions & 0 deletions bucket/temurin-lts-jre.json
Original file line number Diff line number Diff line change
@@ -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&lts=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/(?<url>.*?(?<tag>jdk-(?<major>(?<jdk>[\\d]+)[\\d.]*)(?:\\%2B|\\+)(?<build>[\\d]+)(?<patch>[\\d.]*)))/OpenJDK(?:[\\d]+)(?<update>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"
}
}
42 changes: 42 additions & 0 deletions bucket/temurin17-jre.json
Original file line number Diff line number Diff line change
@@ -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/(?<url>.*?(?<tag>jdk-(?<major>(?<jdk>[\\d]+)[\\d.]*)(?:\\%2B|\\+)(?<build>[\\d]+)(?<patch>[\\d.]*)))/OpenJDK(?:[\\d]+)(?<update>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"
}
}

0 comments on commit eeceafe

Please sign in to comment.