From 7209193f8fe2db7cb7634e488417b349b215f31a Mon Sep 17 00:00:00 2001 From: Ran <43445785+Ran-Mewo@users.noreply.github.com> Date: Sat, 3 May 2025 11:21:17 +1000 Subject: [PATCH] Fix gradle versioning --- build.gradle | 3 ++- coreSubProjects | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 6f842bfe0..93f7bd5b7 100644 --- a/build.gradle +++ b/build.gradle @@ -525,8 +525,9 @@ allprojects { p -> apply plugin: "java" 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 - version = rootProject.versionStr + version = (project == rootProject ? "" : project.name + "-") + rootProject.versionStr group = rootProject.maven_group // this is the text that appears at the top of the overview (home) page diff --git a/coreSubProjects b/coreSubProjects index 5ca3563c6..bbb15263f 160000 --- a/coreSubProjects +++ b/coreSubProjects @@ -1 +1 @@ -Subproject commit 5ca3563c66fd3c1b64bdc0b47a7a2655f1b01bb4 +Subproject commit bbb15263f2ed17972ac34ff9ee74037fb8c7ceb5