Skip to content

Commit 91bda16

Browse files
committed
Set JDK21 as the baseline for the 3.0 major version
Signed-off-by: Andrew Ross <andrross@amazon.com>
1 parent 95d04e5 commit 91bda16

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/check.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
needs: Get-CI-Image-Tag
1212
strategy:
1313
matrix:
14-
java: [ 11, 17, 21 ]
14+
java: [ 21 ]
1515
if: github.repository == 'opensearch-project/custom-codecs'
1616
runs-on: ubuntu-latest
1717
container:
@@ -38,7 +38,7 @@ jobs:
3838
if: github.repository == 'opensearch-project/custom-codecs'
3939
strategy:
4040
matrix:
41-
java: [ 11, 17, 21 ]
41+
java: [ 21 ]
4242
os: [windows-latest, macos-13]
4343
runs-on: ${{ matrix.os }}
4444
steps:

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/setup-java@v4
2020
with:
2121
distribution: temurin # Temurin is a distribution of adoptium
22-
java-version: 17
22+
java-version: 21
2323

2424
- name: Checkout custom-codecs Repo
2525
uses: actions/checkout@v4
@@ -35,7 +35,7 @@ jobs:
3535
strategy:
3636
fail-fast: false
3737
matrix:
38-
jdk: [11, 17]
38+
jdk: [21]
3939
platform: [ubuntu-latest, windows-latest]
4040
runs-on: ${{ matrix.platform }}
4141

.github/workflows/publish-maven-snapshots.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: actions/setup-java@v3
2121
with:
2222
distribution: temurin
23-
java-version: 11
23+
java-version: 21
2424
- uses: actions/checkout@v3
2525
- uses: aws-actions/configure-aws-credentials@v1
2626
with:

build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ allprojects {
7878
}
7979

8080
java {
81-
targetCompatibility = JavaVersion.VERSION_11
82-
sourceCompatibility = JavaVersion.VERSION_11
81+
targetCompatibility = JavaVersion.VERSION_21
82+
sourceCompatibility = JavaVersion.VERSION_21
8383
}
8484
}
8585

0 commit comments

Comments
 (0)