Skip to content

Commit 42eb052

Browse files
committed
Bump minimal Java version from 8 to 11
1 parent 91e8384 commit 42eb052

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
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: [ '8', '11', '17', '21', '23' ]
14+
java: [ '11', '17', '21', '23' ]
1515

1616
steps:
1717
- uses: actions/checkout@v2
@@ -37,7 +37,7 @@ jobs:
3737
- name: Setup Java
3838
uses: actions/setup-java@v1
3939
with:
40-
java-version: 8
40+
java-version: 11
4141
- name: Build with Gradle
4242
run: ./gradlew jacocoTestReport
4343
- name: Upload coverage to Codecov

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The upstream GitHub project can be found at
1717

1818
## Dependencies ##
1919

20-
The only requirement is Java 8 or later.
20+
The only requirement is Java 11 or later.
2121

2222
## Usage ##
2323

build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ plugins {
1919
group = "de.bwaldvogel"
2020
version = '2.44'
2121

22-
sourceCompatibility = 1.8
23-
targetCompatibility = 1.8
22+
java {
23+
sourceCompatibility = '11'
24+
targetCompatibility = '11'
25+
}
2426

2527
compileJava.options.encoding = 'UTF-8'
2628

0 commit comments

Comments
 (0)