Skip to content

Commit 70058fa

Browse files
committed
Move to Java 21
1 parent 3b05375 commit 70058fa

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: '17'
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: '17'
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 17
51-
- name: Setup JDK 17
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: 17
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
@@ -29,7 +29,7 @@ version = gitVersion() // version set by the plugin, based on the Git tag
2929
val releaseGradlePluginToken: String = System.getenv("RELEASE_GRADLE_PLUGIN_TOKEN") ?: ""
3030

3131
java {
32-
sourceCompatibility = JavaVersion.VERSION_17
32+
sourceCompatibility = JavaVersion.VERSION_21
3333
withSourcesJar()
3434
withJavadocJar()
3535
}

0 commit comments

Comments
 (0)