Skip to content

Commit 2257950

Browse files
committed
v1.4.0
1 parent 332dd34 commit 2257950

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

build.gradle

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,8 @@ shadowJar {
8383
def targetJavaVersion = 8
8484
java {
8585
def javaVersion = JavaVersion.toVersion(targetJavaVersion)
86-
sourceCompatibility = JavaVersion.VERSION_17
87-
targetCompatibility = javaVersion
88-
if (JavaVersion.current() < javaVersion) {
89-
toolchain.languageVersion = JavaLanguageVersion.of(targetJavaVersion)
90-
}
86+
sourceCompatibility = 17
87+
targetCompatibility = 8
9188
}
9289

9390
tasks.withType(JavaCompile).configureEach {

0 commit comments

Comments
 (0)