2024-05-15 22:50:50 +00:00
|
|
|
plugins {
|
|
|
|
`java-library`
|
|
|
|
`maven-publish`
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2024-05-16 14:38:41 +00:00
|
|
|
api(project(":Limework-Plugin-Message-API-Protocol"))
|
2024-05-15 22:50:50 +00:00
|
|
|
compileOnly(libs.guava)
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks {
|
|
|
|
compileJava {
|
|
|
|
options.encoding = Charsets.UTF_8.name()
|
2024-05-16 14:38:41 +00:00
|
|
|
options.release.set(17) // use java 8 for shit servers that still stuck on minecraft 1.8
|
2024-05-15 22:50:50 +00:00
|
|
|
}
|
|
|
|
javadoc {
|
|
|
|
options.encoding = Charsets.UTF_8.name()
|
|
|
|
}
|
|
|
|
processResources {
|
|
|
|
filteringCharset = Charsets.UTF_8.name()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
publishing {
|
|
|
|
publications {
|
|
|
|
create<MavenPublication>("maven") {
|
|
|
|
from(components["java"])
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|