From 887468221e4752a93ee2755930b50b1631144992 Mon Sep 17 00:00:00 2001 From: AzureDoom <7415711+AzureDoom@users.noreply.github.com> Date: Fri, 19 Jun 2026 13:21:06 -0400 Subject: [PATCH] Fix: Changing mod_name not updating build jar. --- build.gradle.kts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index bb447b8..00c99fa 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -41,6 +41,11 @@ repositories { mavenCentral() } +tasks.named("jar") { + archiveBaseName.set(project.property("mod_name").toString()) + archiveVersion.set(project.property("version").toString()) +} + // Uncomment if you are using IntelliJ. // idea { // module {