Skip to content

Commit

Permalink
I need help
Browse files Browse the repository at this point in the history
  • Loading branch information
Dueris committed Jun 20, 2023
1 parent 4b9918c commit c5b412a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,8 @@ dependencies {
//}
def targetJavaVersion = 17
java {
def javaVersion = JavaVersion.toVersion(targetJavaVersion)
sourceCompatibility = javaVersion
targetCompatibility = javaVersion
if (JavaVersion.current() < javaVersion) {
toolchain.languageVersion = JavaLanguageVersion.of(targetJavaVersion)
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}

Expand Down

0 comments on commit c5b412a

Please sign in to comment.