diff --git a/bucket/openjdk15.json b/bucket/openjdk15.json new file mode 100644 index 000000000..ae9bc49b1 --- /dev/null +++ b/bucket/openjdk15.json @@ -0,0 +1,32 @@ +{ + "description": "Official production-ready open-source builds of OpenJDK 15", + "homepage": "https://jdk.java.net/15", + "version": "15-3-ea", + "license": "GPL-2.0-only WITH Classpath-exception-2.0", + "architecture": { + "64bit": { + "url": "https://download.java.net/java/early_access/jdk15/3/GPL/openjdk-15-ea+3_windows-x64_bin.zip", + "hash": "f5fa522efcff995e783f91a964103bced301c4d4deb6ab3bd231367f0e14a30a" + } + }, + "extract_dir": "jdk-15", + "env_add_path": "bin", + "env_set": { + "JAVA_HOME": "$dir" + }, + "checkver": { + "re": "/(?early_access|GA)/(?jdk(?[\\d.]+)(?:.*)?/(?[\\d]+)(?:/GPL|/binaries)?)/(?openjdk-(?[\\d.]+)(?-ea)?(?:\\+[\\d]+)?_windows-x64_bin.(zip|tar.gz))", + "replace": "${version}-${build}${ea}" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://download.java.net/java/$matchType/$matchPath/$matchFile" + } + }, + "hash": { + "url": "$url.sha256" + }, + "extract_dir": "jdk-$matchVersion" + } +}