Skip to content

Commit 0046312

Browse files
committed
Use Java 17 for builds
1 parent 26e09ff commit 0046312

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

.forgejo/workflows/gradle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ jobs:
3131

3232
steps:
3333
- uses: actions/checkout@v4
34-
- name: Set up JDK 11
34+
- name: Set up JDK 17
3535
uses: https://github.com/actions/setup-java@v4
3636
with:
37-
java-version: '11'
37+
java-version: '17'
3838
distribution: 'temurin'
3939
- name: Build with Gradle
4040
uses: gradle/gradle-build-action@937999e9cc2425eddc7fd62d1053baf041147db7

.github/workflows/gradle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929

3030
steps:
3131
- uses: actions/checkout@v4
32-
- name: Set up JDK 11
32+
- name: Set up JDK 16
3333
uses: actions/setup-java@v4
3434
with:
35-
java-version: '11'
35+
java-version: '17'
3636
distribution: 'temurin'
3737
- name: Build with Gradle
3838
uses: gradle/gradle-build-action@937999e9cc2425eddc7fd62d1053baf041147db7

.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright 2015-2022 Martin Goellnitz
2+
# Copyright 2015-2025 Martin Goellnitz
33
#
44
# This program is free software: you can redistribute it and/or modify
55
# it under the terms of the GNU General Public License as published by
@@ -14,7 +14,7 @@
1414
# You should have received a copy of the GNU General Public License
1515
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1616
#
17-
image: gradle:jdk11
17+
image: gradle:jdk17
1818

1919
variables:
2020
GRADLE_USER_HOME: /tmp/.gradle

0 commit comments

Comments
 (0)