[ci skip] primative failsafe for mismatched version family

This commit is contained in:
Shane Freeder
2026-07-15 02:29:29 +01:00
parent 9eb338bd1c
commit 1cd8d51d02
+4
View File
@@ -132,6 +132,10 @@ fill {
versionFamily("4.0.0")
version(projectVersion)
if (versionFamily.get().split(".") != projectVersion.split(".")) {
throw IllegalArgumentException("Version family does not match project version")
}
downloads {
register("server:default") {
file = tasks.shadowJar.flatMap { it.archiveFile }