2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-11-14 08:48:01 +00:00
RedisBungee/plugin-message-api/redisbungee/build.gradle.kts

32 lines
613 B
Plaintext

plugins {
`java-library`
`maven-publish`
}
dependencies {
compileOnly(project(":Limework-Plugin-Message-API-Protocol"))
compileOnly(libs.guava)
}
tasks {
compileJava {
options.encoding = Charsets.UTF_8.name()
options.release.set(8) // use java 8 for shit servers that still stuck on 1.8
}
javadoc {
options.encoding = Charsets.UTF_8.name()
}
processResources {
filteringCharset = Charsets.UTF_8.name()
}
}
publishing {
publications {
create<MavenPublication>("maven") {
from(components["java"])
}
}
}