forked from ScoopInstaller/Java
/
adopt11-hotspot.json
35 lines (35 loc) · 1.26 KB
/
adopt11-hotspot.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"description": "AdoptOpenJDK 11 with Oracle HotSpot JVM",
"homepage": "https://adoptopenjdk.net",
"version": "11.0.2-7",
"license": "GPL-2.0-with-classpath-exception",
"architecture": {
"64bit": {
"url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.2%2B7/OpenJDK11U-jdk_x64_windows_hotspot_11.0.2_7.zip",
"hash": "54dc5f49d2626aa9ace5dcfee05f9ed3fce740c1ad7bd662c84c6130cc06b783"
}
},
"extract_dir": "jdk-11.0.2+7",
"env_add_path": "bin",
"env_set": {
"JAVA_HOME": "$dir"
},
"checkver": {
"url": "https://api.adoptopenjdk.net/v2/info/releases/openjdk11?openjdk_impl=hotspot&os=windows&arch=x64&release=latest&type=jdk",
"jp": "$.binaries[0].binary_link",
"re": "https://github.com/(?<url>.*?(?<tag>jdk-(?<major>(?<jdk>[\\d]+)[\\d.]+)(?:\\%2B|\\+)(?<build>[\\d]+)).*?).zip",
"replace": "${major}-${build}"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/$matchUrl.zip"
}
},
"hash": {
"url": "$url.sha256.txt",
"find": "^([a-fA-F0-9]+)\\s"
},
"extract_dir": "jdk-$matchMajor+$matchBuild"
}
}