Update dependencies

This commit is contained in:
Telesphoreo 2022-05-08 13:59:50 -05:00
parent 1148ff5da9
commit 32f17a23f3
No known key found for this signature in database
GPG Key ID: 5ACFFC4682CF849B

View File

@ -28,8 +28,8 @@ repositories {
} }
dependencies { dependencies {
implementation("org.projectlombok:lombok:1.18.22") implementation("org.projectlombok:lombok:1.18.24")
annotationProcessor("org.projectlombok:lombok:1.18.22") annotationProcessor("org.projectlombok:lombok:1.18.24")
implementation("io.papermc.paper:paper-api:1.18.2-R0.1-SNAPSHOT") implementation("io.papermc.paper:paper-api:1.18.2-R0.1-SNAPSHOT")
implementation("dev.plex:server:1.1-SNAPSHOT") implementation("dev.plex:server:1.1-SNAPSHOT")
implementation("dev.plex:api:1.1-SNAPSHOT") implementation("dev.plex:api:1.1-SNAPSHOT")
@ -38,31 +38,8 @@ dependencies {
implementation("org.eclipse.jetty:jetty-server:11.0.9") implementation("org.eclipse.jetty:jetty-server:11.0.9")
implementation("org.eclipse.jetty:jetty-servlet:11.0.9") implementation("org.eclipse.jetty:jetty-servlet:11.0.9")
implementation("org.eclipse.jetty:jetty-proxy:11.0.9") implementation("org.eclipse.jetty:jetty-proxy:11.0.9")
implementation("com.github.MilkBowl:VaultAPI:1.7") implementation("com.github.MilkBowl:VaultAPI:1.7") {
} exclude("org.bukkit", "bukkit")
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)
}
javadoc {
options.encoding = Charsets.UTF_8.name() // We want UTF-8 for everything
}
processResources {
filteringCharset = Charsets.UTF_8.name() // We want UTF-8 for everything
}
}
publishing {
publications {
create<MavenPublication>("maven") {
from(components["java"])
}
} }
} }
@ -74,3 +51,27 @@ tasks.getByName<Jar>("jar") {
exclude("dev/**") exclude("dev/**")
} }
} }
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
}
tasks {
compileJava {
options.encoding = Charsets.UTF_8.name()
}
javadoc {
options.encoding = Charsets.UTF_8.name()
}
processResources {
filteringCharset = Charsets.UTF_8.name()
}
}
publishing {
publications {
create<MavenPublication>("maven") {
from(components["java"])
}
}
}