From b486fe8158d7a38d3f898b563b0508c1eddd37ee Mon Sep 17 00:00:00 2001 From: Brian Demers Date: Mon, 25 Sep 2023 15:09:43 -0400 Subject: [PATCH] Add Java 21 to CI matrix build * Update groovy patch version to support Java 21. NOTE: This adds a Maven profile that ups the source/target version to Java 8, but ONLY when building with 21+ --- .github/workflows/ci.yml | 2 +- pom.xml | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1e06d6fe9..4b48bcb8b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,7 +66,7 @@ jobs: zulu: strategy: matrix: - java: [ '7', '8', '9', '11', '12', '13', '14', '15', '16', '17', '18' ] + java: [ '7', '8', '9', '11', '12', '13', '14', '15', '16', '17', '18', '21' ] runs-on: 'ubuntu-latest' env: JDK_MAJOR_VERSION: ${{ matrix.java }} diff --git a/pom.xml b/pom.xml index f87aa6dec..e5fadd71f 100644 --- a/pom.xml +++ b/pom.xml @@ -656,7 +656,7 @@ 1.13.1 - 3.0.10 + 3.0.19 4.2 2.0.7 0.15.6 @@ -683,6 +683,16 @@ ${test.addOpens} + + jdk21AndLater + + [21,) + + + + 8 + + docs