From 7d9fbaeec3ccd9299d537fb79d315846ac978025 Mon Sep 17 00:00:00 2001 From: Alexander01998 Date: Fri, 15 Nov 2024 15:46:14 +0100 Subject: [PATCH] Fix publishMods looking for a sources jar that NeoForge doesn't generate --- build.gradle | 4 ---- 1 file changed, 4 deletions(-) diff --git a/build.gradle b/build.gradle index bf7d788..5e5469d 100644 --- a/build.gradle +++ b/build.gradle @@ -277,10 +277,6 @@ publishMods { def versionString = project.version as String def ghVersion = "v" + versionString.substring(0, versionString.indexOf("-MC")) def changelogUrl = "https://www.wimods.net/chestesp/chestesp-1-2/" - def archivesName = project.base.archivesName.get() as String - additionalFiles.from( - file("${project.buildDir}/libs/${archivesName}-${versionString}-sources.jar"), - ) type = ghVersion.contains("pre") ? BETA : STABLE modLoaders.add("neoforge")