Skip to content

Commit 4a5b02f

Browse files
committed
Remove Java 8 from build and set compileJava.options.release to 8
1 parent af94581 commit 4a5b02f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
checks: write
5353
strategy:
5454
matrix:
55-
java: [ '8', '17', '21', '22' ]
55+
java: [ '17', '21', '22' ]
5656
steps:
5757
- uses: actions/checkout@v4
5858
- uses: ./.github/actions/setup-build

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ captainHook {
2626
}
2727

2828
subprojects {
29+
apply plugin: 'java'
2930
apply plugin: 'java-library'
3031
apply plugin: 'idea'
3132
apply plugin: 'io.franzbecker.gradle-lombok'
@@ -41,8 +42,7 @@ subprojects {
4142
}
4243
}
4344

44-
sourceCompatibility = 1.8
45-
targetCompatibility = 1.8
45+
compileJava.options.release = 8
4646
compileJava.options.encoding = 'UTF-8'
4747
compileTestJava.options.encoding = 'UTF-8'
4848
javadoc.options.encoding = 'UTF-8'

0 commit comments

Comments
 (0)