8000 corretto: Add support for Corretto 20 and 21 (#496) · mgziminsky/Scoop-Java@75e36b5 · GitHub
[go: up one dir, main page]

Skip to content 65FA

Commit 75e36b5

Browse files
authored
corretto: Add support for Corretto 20 and 21 (ScoopInstaller#496)
1 parent 0d8b367 commit 75e36b5

File tree

2 files changed

+68
-0
lines changed

2 files changed

+68
-0
lines changed

bucket/corretto20-jdk.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"description": "Amazon Corretto is a no-cost, multiplatform, production-ready distribution of the Open Java Development Kit (OpenJDK)",
3+
"homepage": "https://aws.amazon.com/corretto/",
4+
"version": "20.0.2.10.1",
5+
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
6+
"architecture": {
7+
"64bit": {
8+
"url": "https://corretto.aws/downloads/resources/20.0.2.10.1/amazon-corretto-20.0.2.10.1-windows-x64-jdk.zip",
9+
"hash": "118e8258d5aa5c26a98778f11820c9910c677258152909636f3adfc2e5c93d4c"
10+
}
11+
},
12+
"extract_dir": "jdk20.0.2_10",
13+
"env_add_path": "bin",
14+
"env_set": {
15+
"JAVA_HOME": "$dir"
16+
},
17+
"checkver": {
18+
"url": "https://github.com/corretto/corretto-downloads/raw/main/latest_links/indexmap_with_checksum.json",
19+
"jsonpath": "$.windows.x64.jdk.20.zip.resource",
20+
"regex": "/([\\d.]+)/"
21+
},
22+
"autoupdate": {
23+
"architecture": {
24+
"64bit": {
25+
"url": "https://corretto.aws/downloads/resources/$version/amazon-corretto-$version-windows-x64-jdk.zip",
26+
"hash": {
27+
"url": "https://github.com/corretto/corretto-downloads/raw/main/latest_links/indexmap_with_checksum.json",
28+
"jsonpath": "$.windows.x64.jdk.20.zip.checksum_sha256"
29+
}
30+
}
31+
},
32+
"extract_dir": "jdk$matchHead_$buildVersion"
33+
}
34+
}

bucket/corretto21-jdk.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"description": "Amazon Corretto is a no-cost, multiplatform, production-ready distribution of the Open Java Development Kit (OpenJDK)",
3+
"homepage": "https://aws.amazon.com/corretto/",
4+
"version": "21.0.1.12.1",
5+
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
6+
"architecture": {
7+
"64bit": {
8+
"url": "https://corretto.aws/downloads/resources/21.0.1.12.1/amazon-corretto-21.0.1.12.1-windows-x64-jdk.zip",
9+
"hash": "9f13477c8209ec5e2d59d728503fb61f0c2ee8765431ea542d721cb60b9061a8"
10+
}
11+
},
12+
"extract_dir": "jdk21.0.1_12",
13+
"env_add_path": "bin",
14+
"env_set": {
15+
"JAVA_HOME": "$dir"
16+
},
17+
"checkver": {
18+
"url": "https://github.com/corretto/corretto-downloads/raw/main/latest_links/indexmap_with_checksum.json",
19+
"jsonpath": "$.windows.x64.jdk.21.zip.resource",
20+
"regex": "/([\\d.]+)/"
21+
},
22+
"autoupdate": {
23+
"architecture": {
24+
"64bit": {
25+
"url": "https://corretto.aws/downloads/resources/$version/amazon-corretto-$version-windows-x64-jdk.zip",
26+
"hash": {
27+
"url": "https://github.com/corretto/corretto-downloads/raw/main/latest_links/indexmap_with_checksum.json",
28+
"jsonpath": "$.windows.x64.jdk.21.zip.checksum_sha256"
29+
}
30+
}
31+
},
32+
"extract_dir": "jdk$matchHead_$buildVersion"
33+
}
34+
}

0 commit comments

Comments
 (0)
0