Skip to content

Commit

Permalink
Use JDK 17 on Build
Browse files Browse the repository at this point in the history
Closes gh-11324
  • Loading branch information
marcusdacoregio committed Jun 22, 2022
1 parent fe2517f commit 03527b2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,12 @@ allprojects {
}
}
}

tasks.withType(JavaCompile).configureEach {
javaCompiler = javaToolchains.compilerFor {
languageVersion = JavaLanguageVersion.of(17)
}
}
}

if (hasProperty('buildScan')) {
Expand Down

0 comments on commit 03527b2

Please sign in to comment.