From 70626e7dc6cd0f0b6e5105bbaa7fccccdd99df1a Mon Sep 17 00:00:00 2001 From: bconlon Date: Sun, 10 Nov 2024 11:40:37 -0800 Subject: [PATCH] build: attempt publish jar fix --- build.gradle | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 2d2d878..8f6a85b 100644 --- a/build.gradle +++ b/build.gradle @@ -128,7 +128,7 @@ curseforge { changelogType = "markdown" addGameVersion("${minecraft_version}") addGameVersion("Fabric") - mainArtifact(tasks.jar) { + mainArtifact(tasks.remapJar) { displayName = "${mod_name} - ${version}" } } @@ -141,9 +141,10 @@ modrinth { versionType = "${version_type}" versionName = "${mod_name} - ${version}" changelog = new File("$rootDir/docs/CHANGELOG.md").text - uploadFile = tasks.jar + uploadFile = tasks.remapJar gameVersions = ["${minecraft_version}"] loaders = ["fabric"] + debugMode = true } idea {