diff --git a/adoptopenjdk-hotspot-jre.json b/adoptopenjdk-hotspot-jre.json new file mode 100644 index 000000000..a40095fb4 --- /dev/null +++ b/adoptopenjdk-hotspot-jre.json @@ -0,0 +1,35 @@ +{ + "description": "AdoptOpenJDK JRE with Oracle HotSpot JVM", + "homepage": "https://adoptopenjdk.net", + "version": "11-28", + "license": "GPL-2.0-with-classpath-exception", + "architecture": { + "64bit": { + "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11%2B28/OpenJDK11-jre_x64_windows_hotspot_11_28.zip", + "hash": "1d4a74db5d98122b370e3f6b8af3dd84848968630e1064828ba5da0a898ea835" + } + }, + "extract_dir": "jdk-11+28", + "env_add_path": "bin", + "env_set": { + "JAVA_HOME": "$dir" + }, + "checkver": { + "url": "https://api.adoptopenjdk.net/v2/info/releases/openjdk11?openjdk_impl=hotspot&os=windows&arch=x64&release=latest&type=jre", + "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" + } +} diff --git a/adoptopenjdk-hotspot.json b/adoptopenjdk-hotspot.json new file mode 100644 index 000000000..f451812cf --- /dev/null +++ b/adoptopenjdk-hotspot.json @@ -0,0 +1,35 @@ +{ + "description": "AdoptOpenJDK with Oracle HotSpot JVM", + "homepage": "https://adoptopenjdk.net", + "version": "11-28", + "license": "GPL-2.0-with-classpath-exception", + "architecture": { + "64bit": { + "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11%2B28/OpenJDK11-jdk_x64_windows_hotspot_11_28.zip", + "hash": "11a31d269c6527e9ba2e97cd502869fc130ef206ca5f55cccc0fa825401eb44d" + } + }, + "extract_dir": "jdk-11+28", + "env_add_path": "bin", + "env_set": { + "JAVA_HOME": "$dir" + }, + "checkver": { + "url": "https://api.adoptopenjdk.net/v2/info/releases/openjdk11?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" + } +} diff --git a/adoptopenjdk-openj9-jre.json b/adoptopenjdk-openj9-jre.json new file mode 100644 index 000000000..a6d6e53dd --- /dev/null +++ b/adoptopenjdk-openj9-jre.json @@ -0,0 +1,35 @@ +{ + "description": "AdoptOpenJDK JRE with Eclipse OpenJ9 JVM", + "homepage": "https://adoptopenjdk.net", + "version": "11-28_0.9.0", + "license": "GPL-2.0-with-classpath-exception", + "architecture": { + "64bit": { + "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11%2B28/OpenJDK11-jre_x64_windows_openj9_11_28.zip", + "hash": "4ad2454b4485300d8c37b1a7bf44ec11a4fc5b4d51e92dfbbead94d8d80bf47a" + } + }, + "extract_dir": "jdk-11+28", + "env_add_path": "bin", + "env_set": { + "JAVA_HOME": "$dir" + }, + "checkver": { + "url": "https://api.adoptopenjdk.net/v2/info/releases/openjdk11?openjdk_impl=openj9&os=windows&arch=x64&release=latest&type=jre", + "jp": "$.binaries[0].checksum_link", + "re": "https://github.com/(?.*?(?jdk-(?(?[\\d]+)[\\d.]+)(?:\\%2B|\\+)(?[\\d]+)(?_openj9-(?[\\d.]+))?).*?)(?.zip)?.sha256.txt", + "replace": "${major}-${build}_0.9.0" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://github.com/$matchUrl$matchZip" + } + }, + "hash": { + "url": "$url.sha256.txt", + "find": "^([a-fA-F0-9]+)\\s" + }, + "extract_dir": "jdk-$matchMajor+$matchBuild" + } +} diff --git a/adoptopenjdk-openj9.json b/adoptopenjdk-openj9.json new file mode 100644 index 000000000..fdff026a1 --- /dev/null +++ b/adoptopenjdk-openj9.json @@ -0,0 +1,35 @@ +{ + "description": "AdoptOpenJDK with Eclipse OpenJ9 JVM", + "homepage": "https://adoptopenjdk.net", + "version": "11-28_0.9.0", + "license": "GPL-2.0-with-classpath-exception", + "architecture": { + "64bit": { + "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11%2B28/OpenJDK11-jdk_x64_windows_openj9_11_28.zip", + "hash": "5d487cd38fbf3b66687b0d28c428db1b0754d58bafad32c95399a6d754c681eb" + } + }, + "extract_dir": "jdk-11+28", + "env_add_path": "bin", + "env_set": { + "JAVA_HOME": "$dir" + }, + "checkver": { + "url": "https://api.adoptopenjdk.net/v2/info/releases/openjdk11?openjdk_impl=openj9&os=windows&arch=x64&release=latest&type=jdk", + "jp": "$.binaries[0].checksum_link", + "re": "https://github.com/(?.*?(?jdk-(?(?[\\d]+)[\\d.]+)(?:\\%2B|\\+)(?[\\d]+)(?_openj9-(?[\\d.]+))?).*?)(?.zip)?.sha256.txt", + "replace": "${major}-${build}_0.9.0" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://github.com/$matchUrl$matchZip" + } + }, + "hash": { + "url": "$url.sha256.txt", + "find": "^([a-fA-F0-9]+)\\s" + }, + "extract_dir": "jdk-$matchMajor+$matchBuild" + } +}