mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-12-22 14:34:59 +01:00
f3ba5848c2
* let extensions specify geyser api version instead of base api version * fix spacing, @link formatting, properly check for compat * Proper warning, update to API changes to also check patch version * Bump base-api version * adapt to new base api changes * Actually bump to 2.4.1 * Update api/src/main/java/org/geysermc/geyser/api/extension/ExtensionDescription.java * Address reviews * Address reviews * Update to latest base api changes; proper extension *human* version checking * no need to apply a plugin, that's the default --------- Co-authored-by: Konicai <71294714+Konicai@users.noreply.github.com>
24 lines
450 B
Text
24 lines
450 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)
|
|
}
|
|
|
|
version = property("version")!!
|
|
val apiVersion = (version as String).removeSuffix("-SNAPSHOT")
|
|
|
|
sourceSets {
|
|
main {
|
|
blossom {
|
|
javaSources {
|
|
property("version", apiVersion)
|
|
}
|
|
}
|
|
}
|
|
}
|