GeyserMC/api/build.gradle.kts

34 lines
678 B
Text
Raw Normal View History

2023-02-09 17:31:00 +01:00
plugins {
// Allow blossom to mark sources root of templates
idea
2023-02-09 17:31:00 +01:00
id("geyser.publish-conventions")
alias(libs.plugins.blossom)
2023-02-09 17:31:00 +01:00
}
dependencies {
api(libs.base.api)
api(libs.math)
// Adventure text serialization
api(libs.bundles.adventure)
// TODO? can we exclude more
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)
}
}
}
}