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

31 lines
547 B
Plaintext

plugins {
`java-library`
`maven-publish`
}
dependencies {
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"])
}
}
}