Geyser/api/build.gradle.kts

25 lines
450 B
Text
Raw Normal View History

2023-02-09 16:31:00 +00:00
plugins {
// Allow blossom to mark sources root of templates
idea
2023-02-09 16:31:00 +00:00
id("geyser.publish-conventions")
alias(libs.plugins.blossom)
2023-02-09 16:31:00 +00: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)
}
}
}
}