Fix gradle versioning

This commit is contained in:
Ran
2025-05-03 11:21:17 +10:00
parent ed4f644a3f
commit 7209193f8f
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -525,8 +525,9 @@ allprojects { p ->
apply plugin: "java" apply plugin: "java"
apply plugin: "maven-publish" apply plugin: "maven-publish"
// Sets the name of the jar, the version will contain the name of the project if it isn't the root project
archivesBaseName = rootProject.mod_name archivesBaseName = rootProject.mod_name
version = rootProject.versionStr version = (project == rootProject ? "" : project.name + "-") + rootProject.versionStr
group = rootProject.maven_group group = rootProject.maven_group
// this is the text that appears at the top of the overview (home) page // this is the text that appears at the top of the overview (home) page