From a634ab290cbe645f0e95ad0d1c449c299f89a6c0 Mon Sep 17 00:00:00 2001 From: Up Date: Tue, 23 Apr 2024 06:21:28 +0200 Subject: [PATCH] fix NG publishing --- NeoForge/build.gradle | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/NeoForge/build.gradle b/NeoForge/build.gradle index 8a28bf0..4096365 100644 --- a/NeoForge/build.gradle +++ b/NeoForge/build.gradle @@ -151,10 +151,11 @@ processResources { from project(":Common").sourceSets.main.resources } -if(usingJarJar) { - publishing { - publications { - "mavenJava${project.name}"(MavenPublication) { +publishing { + publications { + "mavenJava${project.name}"(MavenPublication) { + fg.component(it) + if (usingJarJar) { jarJar.component(it) } }