From a3aa43122915bc727268113236ef28a96ac3ec35 Mon Sep 17 00:00:00 2001 From: Craig Perkins Date: Wed, 6 Nov 2024 11:57:02 -0500 Subject: [PATCH] Set geospation plugin 3.0.0 baseline JDK version to JDK-21 Signed-off-by: Craig Perkins --- .github/workflows/CI.yml | 4 ++-- .github/workflows/maven-publish.yml | 2 +- build.gradle | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index a959a5b6..bb57a93c 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -21,7 +21,7 @@ jobs: needs: Get-CI-Image-Tag strategy: matrix: - java: [11, 17, 21] + java: [21] name: Build and Test geospatial Plugin runs-on: ubuntu-latest @@ -54,7 +54,7 @@ jobs: Build-windows-macos: strategy: matrix: - java: [11, 17, 21] + java: [21] os: [windows-latest, macos-latest] name: Build and Test geospatial Plugin diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 724e3a21..644342c7 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/setup-java@v3 with: distribution: temurin # Temurin is a distribution of adoptium - java-version: 11 + java-version: 21 - uses: actions/checkout@v3 - uses: aws-actions/configure-aws-credentials@v1 with: diff --git a/build.gradle b/build.gradle index 8a08474d..d76333f3 100644 --- a/build.gradle +++ b/build.gradle @@ -94,8 +94,8 @@ ext { allprojects { group = opensearch_group version = "${opensearch_build}" - targetCompatibility = JavaVersion.VERSION_11 - sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_21 + sourceCompatibility = JavaVersion.VERSION_21 } repositories {