Update build.gradle.kts

This commit is contained in:
Telesphoreo 2022-05-08 21:23:28 -05:00
parent 28ce3ce8da
commit 46ad9c7c8c
No known key found for this signature in database
GPG Key ID: 5ACFFC4682CF849B
1 changed files with 11 additions and 10 deletions

View File

@ -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()
}
}