Java/bucket/zulu12-jre.json
Ryan Suhartanto 16a03df3a1
zulu*: Manifest enhancements (#515)
* Remove 32-bit architecture as per JEP 449

* Replace all url with Azul Metadata API

Fitted using `include_fields=sha256_hash`.

* Fix JSON path not recognizing array

* Introduce Zulu 21

* Run auto update

* Remove unsupported version 6

* Introduce Zulu 22
2024-05-22 17:29:41 +02:00

47 lines
2.2 KiB
JSON

{
"description": "Zulu 12 is a build of OpenJDK 12",
"homepage": "https://www.azul.com/products/zulu-community/",
"version": "12.1.3",
"license": {
"identifier": "GPL-2.0-only WITH Classpath-exception-2.0",
"url": "https://www.azulsystems.com/license/zulu_third_party_licenses.html"
},
"architecture": {
"64bit": {
"url": "https://cdn.azul.com/zulu/bin/zulu12.1.3-ca-jre12.0.0-win_x64.zip",
"hash": "8fa2d3f40b0cd6fa28913ab2e7b032a8dd82b62f7db59904ac8e3bad902384a8",
"extract_dir": "zulu12.1.3-ca-jre12.0.0-win_x64"
}
},
"env_add_path": "bin",
"env_set": {
"JAVA_HOME": "$dir"
},
"checkver": {
"url": "https://api.azul.com/metadata/v1/zulu/packages/?java_version=12&os=windows&arch=x64&archive_type=zip&java_package_type=jre&javafx_bundled=false&crac_supported=false&release_type=PSU&latest=true&include_fields=sha256_hash&page_size=1",
"jsonpath": "$..download_url",
"regex": "(?<name>zulu(?<version>[\\d.]+)-ca-jre(?<java>[\\d.]+)-win)_x64.zip",
"replace": "${version}"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://cdn.azul.com/zulu/bin/$matchName_x64.zip",
"extract_dir": "$matchName_x64",
"hash": {
"url": "https://api.azul.com/metadata/v1/zulu/packages/?java_version=11&os=windows&arch=x64&archive_type=zip&java_package_type=jre&javafx_bundled=false&crac_supported=false&release_type=PSU&latest=true&include_fields=sha256_hash&page_size=1",
"jp": "$..sha256_hash"
}
},
"32bit": {
"url": "https://cdn.azul.com/zulu/bin/$matchName_i686.zip",
"extract_dir": "$matchName_i686",
"hash": {
"url": "https://api.azul.com/metadata/v1/zulu/packages/?java_version=11&os=windows&arch=xi686&archive_type=zip&java_package_type=jre&javafx_bundled=false&crac_supported=false&release_type=PSU&latest=true&include_fields=sha256_hash&page_size=1",
"jp": "$..sha256_hash"
}
}
}
}
}