Only allow on 1.13+

This commit is contained in:
Ryder Belserion 2022-10-11 16:47:35 -04:00
parent b76ea867e6
commit fd9c396483
No known key found for this signature in database
GPG Key ID: 3DE16C386AE324DE

View File

@ -43,6 +43,10 @@ dependencies {
compileOnly(libs.paper) compileOnly(libs.paper)
} }
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
}
tasks { tasks {
shadowJar { shadowJar {
if (buildNumber != null) { if (buildNumber != null) {
@ -60,8 +64,7 @@ tasks {
} }
compileJava { compileJava {
targetCompatibility = "8" options.release.set(17)
sourceCompatibility = "8"
} }
processResources { processResources {