2022-02-27 23:38:55 +01:00
|
|
|
plugins {
|
|
|
|
`java-library`
|
|
|
|
`maven-publish`
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2022-09-26 17:43:17 +02:00
|
|
|
compileOnly("org.checkerframework", "checker-qual", "3.19.0")
|
2022-02-27 23:38:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
tasks {
|
|
|
|
processResources {
|
2022-10-02 22:43:14 +02:00
|
|
|
filesMatching(listOf("plugin.yml", "bungee.yml", "velocity-plugin.json", "META-INF/sponge_plugins.json")) {
|
2022-02-27 23:38:55 +01:00
|
|
|
expand(
|
|
|
|
"id" to "Geyser",
|
|
|
|
"name" to "Geyser",
|
|
|
|
"version" to project.version,
|
|
|
|
"description" to project.description,
|
|
|
|
"url" to "https://geysermc.org",
|
|
|
|
"author" to "GeyserMC"
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
compileJava {
|
|
|
|
options.encoding = Charsets.UTF_8.name()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
java {
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_16
|
|
|
|
targetCompatibility = JavaVersion.VERSION_16
|
|
|
|
|
|
|
|
withSourcesJar()
|
|
|
|
}
|