From e49736f767fd64a58fb4460986754810b11f71c4 Mon Sep 17 00:00:00 2001 From: Small_Ku Date: Mon, 22 Jan 2024 20:13:28 +0800 Subject: [PATCH] add graalvm-oracle-jdk #472 --- bucket/graalvm-oracle-17jdk.json | 34 ++++++++++++++++++++++++++++++++ bucket/graalvm-oracle-21jdk.json | 34 ++++++++++++++++++++++++++++++++ bucket/graalvm-oracle-jdk.json | 34 ++++++++++++++++++++++++++++++++ 3 files changed, 102 insertions(+) create mode 100644 bucket/graalvm-oracle-17jdk.json create mode 100644 bucket/graalvm-oracle-21jdk.json create mode 100644 bucket/graalvm-oracle-jdk.json diff --git a/bucket/graalvm-oracle-17jdk.json b/bucket/graalvm-oracle-17jdk.json new file mode 100644 index 00000000000..bfa184ce133 --- /dev/null +++ b/bucket/graalvm-oracle-17jdk.json @@ -0,0 +1,34 @@ +{ + "description": "High-performance, embeddable, polyglot Virtual Machine for JVM-langs (Java, Scala, Kotlin), JavaScript/NodeJS, Python, Ruby, R, and LLVM-langs (C, C++, Rust)", + "version": "17.0.10", + "homepage": "https://www.graalvm.org/", + "license": { + "identifier": "Freeware", + "url": "https://www.oracle.com/downloads/licenses/graal-free-license.html" + }, + "url": "https://download.oracle.com/graalvm/17/archive/graalvm-jdk-17.0.10_windows-x64_bin.zip", + "hash": "1ab2291e71f54d73e3e57b7fccbf184cabcba37e16ca9d1cf42d08474a7c02f0", + "extract_to": "tmp", + "installer": { + "script": [ + "(Get-ChildItem -Directory \"$dir\\tmp\").FullName | % { Move-Item \"$_\\*\" \"$dir\" }", + "Remove-Item -Recurse \"$dir\\tmp\"" + ] + }, + "env_add_path": "bin", + "env_set": { + "JAVA_HOME": "$dir", + "GRAALVM_HOME": "$dir" + }, + "checkver": { + "url": "https://www.oracle.com/java/technologies/downloads/", + "useragent": "Mozilla/5.0", + "regex": "GraalVM for JDK ((?17)\\.[\\d.]+) downloads" + }, + "autoupdate": { + "url": "https://download.oracle.com/graalvm/$matchVer/archive/graalvm-jdk-$version_windows-x64_bin.zip", + "hash": { + "url": "https://download.oracle.com/graalvm/$matchVer/archive/graalvm-jdk-$version_windows-x64_bin.zip.sha256" + } + } +} diff --git a/bucket/graalvm-oracle-21jdk.json b/bucket/graalvm-oracle-21jdk.json new file mode 100644 index 00000000000..9f819ab1125 --- /dev/null +++ b/bucket/graalvm-oracle-21jdk.json @@ -0,0 +1,34 @@ +{ + "description": "High-performance, embeddable, polyglot Virtual Machine for JVM-langs (Java, Scala, Kotlin), JavaScript/NodeJS, Python, Ruby, R, and LLVM-langs (C, C++, Rust)", + "version": "21.0.2", + "homepage": "https://www.graalvm.org/", + "license": { + "identifier": "Freeware", + "url": "https://www.oracle.com/downloads/licenses/graal-free-license.html" + }, + "url": "https://download.oracle.com/graalvm/21/archive/graalvm-jdk-21.0.2_windows-x64_bin.zip", + "hash": "bc5027e506775813131509247424d4af839ad23224a7787b7770ae82eeb3b32d", + "extract_to": "tmp", + "installer": { + "script": [ + "(Get-ChildItem -Directory \"$dir\\tmp\").FullName | % { Move-Item \"$_\\*\" \"$dir\" }", + "Remove-Item -Recurse \"$dir\\tmp\"" + ] + }, + "env_add_path": "bin", + "env_set": { + "JAVA_HOME": "$dir", + "GRAALVM_HOME": "$dir" + }, + "checkver": { + "url": "https://www.oracle.com/java/technologies/downloads/", + "useragent": "Mozilla/5.0", + "regex": "GraalVM for JDK ((?21)\\.(?[\\d.]+)) downloads" + }, + "autoupdate": { + "url": "https://download.oracle.com/graalvm/$matchVer/archive/graalvm-jdk-$version_windows-x64_bin.zip", + "hash": { + "url": "https://download.oracle.com/graalvm/$matchVer/archive/graalvm-jdk-$version_windows-x64_bin.zip.sha256" + } + } +} diff --git a/bucket/graalvm-oracle-jdk.json b/bucket/graalvm-oracle-jdk.json new file mode 100644 index 00000000000..ef671036101 --- /dev/null +++ b/bucket/graalvm-oracle-jdk.json @@ -0,0 +1,34 @@ +{ + "description": "High-performance, embeddable, polyglot Virtual Machine for JVM-langs (Java, Scala, Kotlin), JavaScript/NodeJS, Python, Ruby, R, and LLVM-langs (C, C++, Rust)", + "version": "21.0.2", + "homepage": "https://www.graalvm.org/", + "license": { + "identifier": "Freeware", + "url": "https://www.oracle.com/downloads/licenses/graal-free-license.html" + }, + "url": "https://download.oracle.com/graalvm/21/archive/graalvm-jdk-21.0.2_windows-x64_bin.zip", + "hash": "bc5027e506775813131509247424d4af839ad23224a7787b7770ae82eeb3b32d", + "extract_to": "tmp", + "installer": { + "script": [ + "(Get-ChildItem -Directory \"$dir\\tmp\").FullName | % { Move-Item \"$_\\*\" \"$dir\" }", + "Remove-Item -Recurse \"$dir\\tmp\"" + ] + }, + "env_add_path": "bin", + "env_set": { + "JAVA_HOME": "$dir", + "GRAALVM_HOME": "$dir" + }, + "checkver": { + "url": "https://www.oracle.com/java/technologies/downloads/", + "useragent": "Mozilla/5.0", + "regex": "GraalVM for JDK ((?[\\d]*)\\.[\\d.]+) downloads" + }, + "autoupdate": { + "url": "https://download.oracle.com/graalvm/$matchVer/archive/graalvm-jdk-$version_windows-x64_bin.zip", + "hash": { + "url": "https://download.oracle.com/graalvm/$matchVer/archive/graalvm-jdk-$version_windows-x64_bin.zip.sha256" + } + } +}