From 0d51e57838883eea632384f000619f72214a8919 Mon Sep 17 00:00:00 2001 From: Blast Date: Tue, 12 Dec 2023 16:44:44 -0500 Subject: [PATCH] Fix modrinth (1.20.2) --- build.gradle | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 2b1c072..825de40 100644 --- a/build.gradle +++ b/build.gradle @@ -84,6 +84,11 @@ jar { archiveFileName = "titan.jar" } +remapJar { + // Set the final name of the jar! This needs to be exactly this for the auto-update function to work! + archiveFileName = "titan.jar" +} + // configure the maven publication publishing { publications { @@ -112,10 +117,12 @@ modrinth { projectId = "f44hEoWP" versionNumber = project.version uploadFile = jar - gameVersions = ["1.20.2"] + gameVersions = ["${minecraft_version}"] loaders = ["fabric"] - uploadFile = "./build/devlibs/titan.jar" + uploadFile = "./build/libs/titan.jar" dependencies { required.project "fabric-api" + optional.project "cloth-config" + optional.project "modmenu" } }