Skip to content

Commit

Permalink
force toolchain of java 8 in build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
asafc committed Apr 24, 2023
1 parent 1461ed7 commit 318f87e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ repositories {
}

java {
toolchain {
languageVersion = JavaLanguageVersion.of(8)
}
// sources are required by maven central in order to accept the package
withSourcesJar()
// javadoc jar is required by maven central in order to accept the package
Expand Down

0 comments on commit 318f87e

Please sign in to comment.