From 5d58ea57439939106ff5943d57f0b9617eff21ad Mon Sep 17 00:00:00 2001 From: mezz Date: Sun, 8 Sep 2024 21:20:45 +0900 Subject: [PATCH] set mod group on common api intermediary jars --- FabricApi/build.gradle.kts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/FabricApi/build.gradle.kts b/FabricApi/build.gradle.kts index f0f36850d..03980adc1 100644 --- a/FabricApi/build.gradle.kts +++ b/FabricApi/build.gradle.kts @@ -26,6 +26,7 @@ val parchmentMinecraftVersion: String by extra val minecraftVersion: String by extra val modId: String by extra val modJavaVersion: String by extra +val modGroup: String by extra val baseArchivesName = "${modId}-${minecraftVersion}-fabric-api" base { @@ -49,6 +50,7 @@ val commonApiIntermediaryJar = tasks.create("commonApiIntermediary inputFile.set(commonJar) archiveBaseName.set(provider { commonApiBaseArchivesName.get() + "-intermediary" }) archiveClassifier.set("jar") + group = modGroup } val commonApiIntermediarySourcesJar = tasks.create("commonApiIntermediarySourcesJar") { @@ -57,6 +59,7 @@ val commonApiIntermediarySourcesJar = tasks.create("commonApiInter inputFile.set(commonSourcesJar) archiveBaseName.set(provider { commonApiBaseArchivesName.get() + "-intermediary" }) archiveClassifier.set("sources") + group = modGroup } tasks.withType {