Skip to content

Commit 7e763e3

Browse files
committed
Move to Java 21
1 parent 59b557f commit 7e763e3

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/workflows/build_and_release_github.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/setup-java@v5
1616
with:
1717
distribution: 'temurin'
18-
java-version: '20'
18+
java-version: '21'
1919

2020
- name: Setup Gradle
2121
uses: gradle/actions/setup-gradle@v4

.github/workflows/build_develop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/setup-java@v5
1515
with:
1616
distribution: 'temurin'
17-
java-version: '20'
17+
java-version: '21'
1818

1919
- name: Setup Gradle
2020
uses: gradle/actions/setup-gradle@v4

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ jobs:
4747
# See: https://github.com/actions/virtual-environments/issues/1187#issuecomment-686735760
4848
run: sudo ethtool -K eth0 tx off rx off
4949

50-
# Install and setup JDK 20
51-
- name: Setup JDK 20
50+
# Install and setup JDK 21
51+
- name: Setup JDK 21
5252
uses: actions/setup-java@v5
5353
with:
5454
distribution: temurin
55-
java-version: 20
55+
java-version: 21
5656

5757
# Initializes the CodeQL tools for scanning.
5858
- name: Initialize CodeQL

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ val gitVersion: groovy.lang.Closure<String> by extra
4343
version = gitVersion() // version set by the plugin, based on the Git tag
4444

4545
java {
46-
sourceCompatibility = JavaVersion.VERSION_20
46+
sourceCompatibility = JavaVersion.VERSION_21
4747
withSourcesJar()
4848
withJavadocJar()
4949
}

0 commit comments

Comments
 (0)