From 95e3f9e9e5e818b071d40a6da0036f09eabeebe7 Mon Sep 17 00:00:00 2001 From: Luke Bemish Date: Thu, 18 Apr 2024 17:27:04 -0500 Subject: [PATCH] Exclude quilt-loader dependencies from remapped configurations --- ...ader-dependencies-from-remapped-conf.patch | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 patches/0006-Exclude-quilt-loader-dependencies-from-remapped-conf.patch diff --git a/patches/0006-Exclude-quilt-loader-dependencies-from-remapped-conf.patch b/patches/0006-Exclude-quilt-loader-dependencies-from-remapped-conf.patch new file mode 100644 index 0000000..6948031 --- /dev/null +++ b/patches/0006-Exclude-quilt-loader-dependencies-from-remapped-conf.patch @@ -0,0 +1,20 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Luke Bemish +Date: Thu, 18 Apr 2024 17:26:21 -0500 +Subject: [PATCH] Exclude quilt-loader dependencies from remapped + configurations + + +diff --git a/src/main/java/net/fabricmc/loom/configuration/RemapConfigurations.java b/src/main/java/net/fabricmc/loom/configuration/RemapConfigurations.java +index 033499915d4af1a0bb29857b58a9cf66eb883658..1f04e10600d35069e7c376c754e6b01b4b943154 100644 +--- a/src/main/java/net/fabricmc/loom/configuration/RemapConfigurations.java ++++ b/src/main/java/net/fabricmc/loom/configuration/RemapConfigurations.java +@@ -172,6 +172,8 @@ public final class RemapConfigurations { + extendsFrom(Constants.Configurations.MOD_COMPILE_CLASSPATH, configuration, project); + } + ++ configuration.exclude(Map.of("group", "org.quiltmc", "module", "quilt-loader-dependencies")); ++ + for (String outgoingConfigurationName : settings.getPublishingMode().get().outgoingConfigurations()) { + extendsFrom(outgoingConfigurationName, configuration, project); + }