Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-19 22:40:18 +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>
25 Zeilen
450 B
Plaintext
25 Zeilen
450 B
Plaintext
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)
|
|
}
|
|
}
|
|
}
|
|
}
|