Skip to content

Commit

Permalink
Bump Java 17 lang version + Java 11 as target
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
  • Loading branch information
pditommaso committed Nov 10, 2022
1 parent a19e055 commit 34f133e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,17 @@ allprojects {

java {
toolchain {
languageVersion = JavaLanguageVersion.of(11)
languageVersion = JavaLanguageVersion.of(17)
}
}

compileJava {
options.release = 8
options.release = 11
}

tasks.withType(GroovyCompile) {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
sourceCompatibility = '11'
targetCompatibility = '11'
}

idea {
Expand Down

0 comments on commit 34f133e

Please sign in to comment.