From 92a60ea61815f51e55683338561fc358cfda3e27 Mon Sep 17 00:00:00 2001 From: Mathias Hermansson Date: Tue, 9 Oct 2018 22:08:47 +0200 Subject: [PATCH] Add adopt9-hotspot: 9.0.4-11 --- adopt9-hotspot.json | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 adopt9-hotspot.json diff --git a/adopt9-hotspot.json b/adopt9-hotspot.json new file mode 100644 index 000000000..fa55c5297 --- /dev/null +++ b/adopt9-hotspot.json @@ -0,0 +1,35 @@ +{ + "description": "AdoptOpenJDK 9 with Oracle HotSpot JVM", + "homepage": "https://adoptopenjdk.net", + "version": "9.0.4-11", + "license": "GPL-2.0-with-classpath-exception", + "architecture": { + "64bit": { + "url": "https://github.com/AdoptOpenJDK/openjdk9-binaries/releases/download/jdk-9.0.4%2B11/OpenJDK9U-jdk_x64_windows_hotspot_9.0.4_11.zip", + "hash": "b2de88155b2eaad123c2615f7eb3c0442d77545046bf85cfbcfe44fc97931dbd" + } + }, + "extract_dir": "jdk-9.0.4+11", + "env_add_path": "bin", + "env_set": { + "JAVA_HOME": "$dir" + }, + "checkver": { + "url": "https://api.adoptopenjdk.net/v2/info/releases/openjdk9?openjdk_impl=hotspot&os=windows&arch=x64&release=latest&type=jdk", + "jp": "$.binaries[0].checksum_link", + "re": "https://github.com/(?.*?(?jdk-(?(?[\\d]+)[\\d.]+)(?:\\%2B|\\+)(?[\\d]+)).*?)(?.zip)?.sha256.txt", + "replace": "${major}-${build}" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://github.com/$matchUrl.zip" + } + }, + "hash": { + "url": "https://github.com/$matchUrl$matchZip.sha256.txt", + "find": "^([a-fA-F0-9]+)\\s" + }, + "extract_dir": "jdk-$matchMajor+$matchBuild" + } +}