mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
+openjdk.org@21
This commit is contained in:
parent
66edb6b087
commit
8fc049ca9a
1 changed files with 16 additions and 6 deletions
|
@ -1,16 +1,19 @@
|
||||||
distributable:
|
distributable:
|
||||||
# TODO: more majors
|
# TODO: add jdk11 and jdk8
|
||||||
|
- url: https://github.com/openjdk/jdk21u/archive/{{version.tag}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
- url: https://github.com/openjdk/jdk20u/archive/{{version.tag}}.tar.gz
|
- url: https://github.com/openjdk/jdk20u/archive/{{version.tag}}.tar.gz
|
||||||
strip-components: 1
|
strip-components: 1
|
||||||
- url: https://github.com/openjdk/jdk17u/archive/{{version.tag}}.tar.gz
|
- url: https://github.com/openjdk/jdk17u/archive/{{version.tag}}.tar.gz
|
||||||
strip-components: 1
|
strip-components: 1
|
||||||
|
|
||||||
versions:
|
versions:
|
||||||
# TODO: more majors
|
|
||||||
- github: openjdk/jdk20u/tags
|
|
||||||
# each repo contains all the prior repo tags at the time of the fork,
|
# each repo contains all the prior repo tags at the time of the fork,
|
||||||
# as well as tags like 20+10, which should be 20.0.0.10, but parses to
|
# as well as tags like 21+10, which should be 21.0.0.10, but parses to
|
||||||
# 20.10.0.
|
# 21.10.0.
|
||||||
|
- github: openjdk/jdk21u/tags
|
||||||
|
transform: 'v => v.match(/jdk-21\.0\./) ? v.replace(/\+/, ".").replace(/^jdk-/, "") : undefined'
|
||||||
|
- github: openjdk/jdk20u/tags
|
||||||
transform: 'v => v.match(/jdk-20\.0\./) ? v.replace(/\+/, ".").replace(/^jdk-/, "") : undefined'
|
transform: 'v => v.match(/jdk-20\.0\./) ? v.replace(/\+/, ".").replace(/^jdk-/, "") : undefined'
|
||||||
- github: openjdk/jdk17u/tags
|
- github: openjdk/jdk17u/tags
|
||||||
transform: 'v => v.match(/jdk-17\.0\./) ? v.replace(/\+/, ".").replace(/^jdk-/, "") : undefined'
|
transform: 'v => v.match(/jdk-17\.0\./) ? v.replace(/\+/, ".").replace(/^jdk-/, "") : undefined'
|
||||||
|
@ -96,8 +99,13 @@ build:
|
||||||
JDK_ARCH: linux-aarch64
|
JDK_ARCH: linux-aarch64
|
||||||
linux/x86-64:
|
linux/x86-64:
|
||||||
JDK_ARCH: linux-x64
|
JDK_ARCH: linux-x64
|
||||||
|
|
||||||
|
# from https://jdk.java.net/archive/
|
||||||
|
# the boot jdk should point to the last version of the previous major version
|
||||||
|
# or the last previous version of the current major version
|
||||||
BOOT_JDK17: https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/GPL/openjdk-17.0.2
|
BOOT_JDK17: https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/GPL/openjdk-17.0.2
|
||||||
BOOT_JDK20: https://download.java.net/java/GA/jdk19.0.1/afdd2e245b014143b62ccb916125e3ce/10/GPL/openjdk-19.0.1
|
BOOT_JDK20: https://download.java.net/java/GA/jdk20.0.2/6e380f22cbe7469fa75fb448bd903d8e/9/GPL/openjdk-20.0.2
|
||||||
|
BOOT_JDK21: https://download.java.net/java/GA/jdk21.0.1/415e3f918a1f4062a0074a2794853d0d/12/GPL/openjdk-21.0.1
|
||||||
|
|
||||||
ARGS:
|
ARGS:
|
||||||
- --disable-warnings-as-errors
|
- --disable-warnings-as-errors
|
||||||
|
@ -144,6 +152,8 @@ provides:
|
||||||
- bin/jstack
|
- bin/jstack
|
||||||
- bin/jstat
|
- bin/jstat
|
||||||
- bin/jstatd
|
- bin/jstatd
|
||||||
|
# TODO: if: {{version.major}} >= 21
|
||||||
|
# - bin/jwebserver
|
||||||
- bin/keytool
|
- bin/keytool
|
||||||
- bin/rmiregistry
|
- bin/rmiregistry
|
||||||
- bin/serialver
|
- bin/serialver
|
||||||
|
|
Loading…
Reference in a new issue