Skip to content

Commit

Permalink
Fix CodeQL CI failure
Browse files Browse the repository at this point in the history
  • Loading branch information
psx95 committed Dec 9, 2024
1 parent f8d1810 commit 69ff50b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/spring-boot-starter/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ java {
targetCompatibility = JavaVersion.VERSION_17
}

// Required for fixing CodeQL issues - CodeQL is configured to run with Java 17.
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}

compileJava {
// This is only possible since the toolchain guarantees Java 17 presence.
// Toolchain is set in the root build.gradle file.
Expand Down

0 comments on commit 69ff50b

Please sign in to comment.