Java/bucket/temurin8-nightly-jre.json

53 lines
2.3 KiB
JSON

{
"description": "Eclipse Temurin is a runtime provided by Eclipse Adoptium for general use across the Java ecosystem",
"homepage": "https://adoptium.net",
"version": "8.0.482-1.0.202511042237",
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
"architecture": {
"64bit": {
"url": "https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u482-b01-ea-beta/OpenJDK8U-jre_x64_windows_hotspot_8u482b01-ea.zip",
"hash": "47ebd7b4f8405b7926227a5394b73fd6e531bda51c4b82389b211f958b817095"
},
"32bit": {
"url": "https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u482-b01-ea-beta/OpenJDK8U-jre_x86-32_windows_hotspot_8u482b01-ea.zip",
"hash": "a457b029539634d76cfa82ace8d90f76a5f2e990a8bffc5dde73d25be4ea9191"
}
},
"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"
},
"checkver": {
"url": "https://api.adoptium.net/v3/assets/feature_releases/8/ea?jvm_impl=hotspot&heap_size=normal&os=windows&architecture=x64&image_type=jre&project=jdk&vendor=eclipse&page_size=1&sort_order=DESC",
"script": [
"$ver = (json_path $page $..version_data.semver).replace('+', '-').replace('-beta','')",
"$link = (json_path $page $..release_link).replace('%2B', '+')",
"$name = json_path $page $..binaries[0].package.name",
"Write-Output \"$ver $link $name\""
],
"regex": "(?<ver>.*?) https://github.com/(?<link>.*?)/tag/(?<tag>.*?) (?<name>(?<prefix>OpenJDK[\\dU]*-[dejkr]{3})_x64_(?<suffix>.*))",
"replace": "${ver}"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/$matchLink/download/$matchTag/$matchName"
},
"32bit": {
"url": "https://github.com/$matchLink/download/$matchTag/$matchPrefix_x86-32_$matchSuffix"
}
},
"hash": {
"url": "$url.sha256.txt",
"find": "^([a-fA-F0-9]+)\\s"
}
}
}