Geyser/build-logic/src/main/kotlin/geyser.base-conventions.gradle.kts

38 lines
830 B
Text
Raw Normal View History

2022-02-27 22:38:55 +00:00
plugins {
`java-library`
id("net.kyori.indra")
2022-02-27 22:38:55 +00:00
}
dependencies {
compileOnly("org.checkerframework", "checker-qual", "3.19.0")
2022-02-27 22:38:55 +00:00
}
indra {
github("GeyserMC", "Geyser") {
ci(true)
issues(true)
scm(true)
}
mitLicense()
javaVersions {
2023-12-15 01:47:00 +00:00
target(17)
}
}
2022-02-27 22:38:55 +00:00
tasks {
processResources {
// Spigot, BungeeCord, Velocity, Fabric, ViaProxy
filesMatching(listOf("plugin.yml", "bungee.yml", "velocity-plugin.json", "fabric.mod.json", "viaproxy.yml")) {
2022-02-27 22:38:55 +00:00
expand(
"id" to "geyser",
2022-02-27 22:38:55 +00:00
"name" to "Geyser",
"version" to project.version,
"description" to project.description,
"url" to "https://geysermc.org",
"author" to "GeyserMC"
)
}
}
}