Skip to content

Commit 97fff60

Browse files
committed
Raise minimum Java version: 11 → 17
1 parent ae89ce8 commit 97fff60

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/gradle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
java: [ '11', '17', '21', '23' ]
14+
java: [ '17', '21', '24' ]
1515

1616
steps:
1717
- uses: actions/checkout@v2
@@ -30,7 +30,7 @@ jobs:
3030
- name: Setup Java
3131
uses: actions/setup-java@v1
3232
with:
33-
java-version: 11
33+
java-version: 17
3434
- name: Publish coverage
3535
run: ./gradlew build
3636
- name: Upload coverage to Codecov

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ allprojects {
2222
group = 'de.bwaldvogel'
2323

2424
java {
25-
sourceCompatibility = '11'
26-
targetCompatibility = '11'
25+
sourceCompatibility = '17'
26+
targetCompatibility = '17'
2727
}
2828

2929
compileJava.options.encoding = 'UTF-8'

0 commit comments

Comments
 (0)