3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-11-08 17:20:20 +01:00
Geyser/build-logic/src/main/kotlin/geyser.base-conventions.gradle.kts
2022-04-24 13:35:49 -05:00

33 Zeilen
782 B
Plaintext

plugins {
`java-library`
`maven-publish`
}
dependencies {
compileOnly("org.checkerframework", "checker-qual", Versions.checkerQualVersion)
}
tasks {
processResources {
filesMatching(listOf("plugin.yml", "bungee.yml", "velocity-plugin.json")) {
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()
}