mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2024-10-29 17:58:00 +00:00
32 lines
613 B
Plaintext
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"])
|
|
}
|
|
}
|
|
}
|