Skip to content

Commit

Permalink
v1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
byteful committed Jun 17, 2024
1 parent 332dd34 commit 2257950
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 @@ -83,11 +83,8 @@ shadowJar {
def targetJavaVersion = 8
java {
def javaVersion = JavaVersion.toVersion(targetJavaVersion)
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = javaVersion
if (JavaVersion.current() < javaVersion) {
toolchain.languageVersion = JavaLanguageVersion.of(targetJavaVersion)
}
sourceCompatibility = 17
targetCompatibility = 8
}

tasks.withType(JavaCompile).configureEach {
Expand Down

0 comments on commit 2257950

Please sign in to comment.