mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-01-09 19:49:24 +01:00
30 lines
609 B
Text
30 lines
609 B
Text
plugins {
|
|
// Allow blossom to mark sources root of templates
|
|
idea
|
|
id("geyser.publish-conventions")
|
|
alias(libs.plugins.blossom)
|
|
}
|
|
|
|
dependencies {
|
|
api(libs.base.api)
|
|
api(libs.math)
|
|
|
|
// TODO remove MCPL from API
|
|
api(libs.mcprotocollib) {
|
|
exclude("io.netty", "netty-all")
|
|
exclude("net.raphimc", "MinecraftAuth")
|
|
}
|
|
}
|
|
|
|
version = property("version")!!
|
|
val apiVersion = (version as String).removeSuffix("-SNAPSHOT")
|
|
|
|
sourceSets {
|
|
main {
|
|
blossom {
|
|
javaSources {
|
|
property("version", apiVersion)
|
|
}
|
|
}
|
|
}
|
|
}
|