From 46ad9c7c8cc642f48dbd77ae2d9b55b19538ab73 Mon Sep 17 00:00:00 2001 From: Telesphoreo Date: Sun, 8 May 2022 21:23:28 -0500 Subject: [PATCH] Update build.gradle.kts --- build.gradle.kts | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 9454378..d56c0d1 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -26,28 +26,29 @@ repositories { } dependencies { - compileOnly("org.projectlombok:lombok:1.18.22") - annotationProcessor("org.projectlombok:lombok:1.18.22") + compileOnly("org.projectlombok:lombok:1.18.24") + annotationProcessor("org.projectlombok:lombok:1.18.24") compileOnly("io.papermc.paper:paper-api:1.18.2-R0.1-SNAPSHOT") - compileOnly("dev.plex:Plex:1.1-SNAPSHOT") + compileOnly("dev.plex:server:1.1-SNAPSHOT") + compileOnly("dev.plex:api:1.1-SNAPSHOT") compileOnly("me.totalfreedom:BukkitTelnet:4.8") { exclude("org.papermc.paper", "paper-api") } } +java { + toolchain.languageVersion.set(JavaLanguageVersion.of(17)) +} + tasks { compileJava { - options.encoding = Charsets.UTF_8.name() // We want UTF-8 for everything - - // Set the release flag. This configures what version bytecode the compiler will emit, as well as what JDK APIs are usable. - // See https://openjdk.java.net/jeps/247 for more information. - options.release.set(17) + options.encoding = Charsets.UTF_8.name() } javadoc { - options.encoding = Charsets.UTF_8.name() // We want UTF-8 for everything + options.encoding = Charsets.UTF_8.name() } processResources { - filteringCharset = Charsets.UTF_8.name() // We want UTF-8 for everything + filteringCharset = Charsets.UTF_8.name() } }