refactor(build): decouple per-module versioning

Each module uses its own version property instead of a shared
artefactVersion, so changes to one module no longer force a
version bump across all modules. CI now supports per-module
release tags with the format <module>/v<version>.
This commit is contained in:
2026-05-29 16:20:27 +08:00
parent 3c71efeec8
commit 54e11c9b8b
9 changed files with 128 additions and 35 deletions
+4 -2
View File
@@ -29,7 +29,9 @@ plugins {
id("signing")
}
val artefactVersion: String by project
val tupleVersion: String by project
version = tupleVersion
val projectUrl: String by project
val projectGithubUrl: String by project
val licenseName: String by project
@@ -70,7 +72,7 @@ publishing {
create<MavenPublication>("tuple") {
groupId = group.toString()
artifactId = "tuple"
version = artefactVersion
version = tupleVersion
pom {
name = "OnixByte Tuple"