Add AdoptOpenJDK with JRE

This commit is contained in:
Mathias Hermansson 2018-10-16 19:49:44 +02:00
parent adac15a1b6
commit 0f95d6f85a
4 changed files with 140 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{
"description": "AdoptOpenJDK JRE with Oracle HotSpot JVM",
"homepage": "https://adoptopenjdk.net",
"version": "11-28",
"license": "GPL-2.0-with-classpath-exception",
"architecture": {
"64bit": {
"url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11%2B28/OpenJDK11-jre_x64_windows_hotspot_11_28.zip",
"hash": "1d4a74db5d98122b370e3f6b8af3dd84848968630e1064828ba5da0a898ea835"
}
},
"extract_dir": "jdk-11+28",
"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=jre",
"jp": "$.binaries[0].checksum_link",
"re": "https://github.com/(?<url>.*?(?<tag>jdk-(?<major>(?<jdk>[\\d]+)[\\d.]+)(?:\\%2B|\\+)(?<build>[\\d]+)).*?)(?<zip>.zip)?.sha256.txt",
"replace": "${major}-${build}"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/$matchUrl.zip"
}
},
"hash": {
"url": "https://github.com/$matchUrl$matchZip.sha256.txt",
"find": "^([a-fA-F0-9]+)\\s"
},
"extract_dir": "jdk-$matchMajor+$matchBuild"
}
}

35
adoptopenjdk-hotspot.json Normal file
View File

@ -0,0 +1,35 @@
{
"description": "AdoptOpenJDK with Oracle HotSpot JVM",
"homepage": "https://adoptopenjdk.net",
"version": "11-28",
"license": "GPL-2.0-with-classpath-exception",
"architecture": {
"64bit": {
"url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11%2B28/OpenJDK11-jdk_x64_windows_hotspot_11_28.zip",
"hash": "11a31d269c6527e9ba2e97cd502869fc130ef206ca5f55cccc0fa825401eb44d"
}
},
"extract_dir": "jdk-11+28",
"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].checksum_link",
"re": "https://github.com/(?<url>.*?(?<tag>jdk-(?<major>(?<jdk>[\\d]+)[\\d.]+)(?:\\%2B|\\+)(?<build>[\\d]+)).*?)(?<zip>.zip)?.sha256.txt",
"replace": "${major}-${build}"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/$matchUrl.zip"
}
},
"hash": {
"url": "https://github.com/$matchUrl$matchZip.sha256.txt",
"find": "^([a-fA-F0-9]+)\\s"
},
"extract_dir": "jdk-$matchMajor+$matchBuild"
}
}

View File

@ -0,0 +1,35 @@
{
"description": "AdoptOpenJDK JRE with Eclipse OpenJ9 JVM",
"homepage": "https://adoptopenjdk.net",
"version": "11-28_0.9.0",
"license": "GPL-2.0-with-classpath-exception",
"architecture": {
"64bit": {
"url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11%2B28/OpenJDK11-jre_x64_windows_openj9_11_28.zip",
"hash": "4ad2454b4485300d8c37b1a7bf44ec11a4fc5b4d51e92dfbbead94d8d80bf47a"
}
},
"extract_dir": "jdk-11+28",
"env_add_path": "bin",
"env_set": {
"JAVA_HOME": "$dir"
},
"checkver": {
"url": "https://api.adoptopenjdk.net/v2/info/releases/openjdk11?openjdk_impl=openj9&os=windows&arch=x64&release=latest&type=jre",
"jp": "$.binaries[0].checksum_link",
"re": "https://github.com/(?<url>.*?(?<tag>jdk-(?<major>(?<jdk>[\\d]+)[\\d.]+)(?:\\%2B|\\+)(?<build>[\\d]+)(?<jvm>_openj9-(?<jvmver>[\\d.]+))?).*?)(?<zip>.zip)?.sha256.txt",
"replace": "${major}-${build}_0.9.0"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/$matchUrl$matchZip"
}
},
"hash": {
"url": "$url.sha256.txt",
"find": "^([a-fA-F0-9]+)\\s"
},
"extract_dir": "jdk-$matchMajor+$matchBuild"
}
}

35
adoptopenjdk-openj9.json Normal file
View File

@ -0,0 +1,35 @@
{
"description": "AdoptOpenJDK with Eclipse OpenJ9 JVM",
"homepage": "https://adoptopenjdk.net",
"version": "11-28_0.9.0",
"license": "GPL-2.0-with-classpath-exception",
"architecture": {
"64bit": {
"url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11%2B28/OpenJDK11-jdk_x64_windows_openj9_11_28.zip",
"hash": "5d487cd38fbf3b66687b0d28c428db1b0754d58bafad32c95399a6d754c681eb"
}
},
"extract_dir": "jdk-11+28",
"env_add_path": "bin",
"env_set": {
"JAVA_HOME": "$dir"
},
"checkver": {
"url": "https://api.adoptopenjdk.net/v2/info/releases/openjdk11?openjdk_impl=openj9&os=windows&arch=x64&release=latest&type=jdk",
"jp": "$.binaries[0].checksum_link",
"re": "https://github.com/(?<url>.*?(?<tag>jdk-(?<major>(?<jdk>[\\d]+)[\\d.]+)(?:\\%2B|\\+)(?<build>[\\d]+)(?<jvm>_openj9-(?<jvmver>[\\d.]+))?).*?)(?<zip>.zip)?.sha256.txt",
"replace": "${major}-${build}_0.9.0"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/$matchUrl$matchZip"
}
},
"hash": {
"url": "$url.sha256.txt",
"find": "^([a-fA-F0-9]+)\\s"
},
"extract_dir": "jdk-$matchMajor+$matchBuild"
}
}