GeyserMC/api/build.gradle.kts

25 lines
450 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)
}
version = property("version")!!
val apiVersion = (version as String).removeSuffix("-SNAPSHOT")
sourceSets {
main {
blossom {
javaSources {
property("version", apiVersion)
}
}
}
}