We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 332dd34 commit 2257950Copy full SHA for 2257950
build.gradle
@@ -83,11 +83,8 @@ shadowJar {
83
def targetJavaVersion = 8
84
java {
85
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
- }
+ sourceCompatibility = 17
+ targetCompatibility = 8
91
}
92
93
tasks.withType(JavaCompile).configureEach {
0 commit comments