From 9ca88ff7540542ac254628cee5ce0765e8b5f1f0 Mon Sep 17 00:00:00 2001 From: bconlon Date: Tue, 14 May 2024 06:02:36 -0700 Subject: [PATCH] build: fix artifact --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index cc13dc7..32a8036 100644 --- a/build.gradle +++ b/build.gradle @@ -160,7 +160,7 @@ curseforge { addGameVersion("${project.mc_version}") addGameVersion("Forge") addGameVersion("NeoForge") - mainArtifact(tasks.jar) { + mainArtifact(tasks.jarJar) { displayName = "${project.mod_name} - ${version}" relations { requiredDependency "aether" @@ -176,7 +176,7 @@ modrinth { versionType = "${project.version_type}" versionName = "${project.mod_name} - ${version}" changelog = new File("$rootDir/docs/CHANGELOG.md").text - uploadFile = tasks.jar + uploadFile = tasks.jarJar gameVersions = ["${project.mc_version}"] loaders = ["forge", "neoforge"] dependencies {