From f996735d1ae38935948300f7e16397e7ce30d621 Mon Sep 17 00:00:00 2001 From: Luke Bemish Date: Mon, 22 Apr 2024 18:59:48 -0500 Subject: [PATCH] Exclude quilt-loader dependencies from remapped configurations - 1.2 (#48) * Exclude quilt-loader dependencies from remapped configurations * Fix missing import --- ...ader-dependencies-from-remapped-conf.patch | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 patches/0007-Exclude-quilt-loader-dependencies-from-remapped-conf.patch diff --git a/patches/0007-Exclude-quilt-loader-dependencies-from-remapped-conf.patch b/patches/0007-Exclude-quilt-loader-dependencies-from-remapped-conf.patch new file mode 100644 index 0000000..ab8328c --- /dev/null +++ b/patches/0007-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 1428c8ee114deddb0e956cd647d44f8f0dbc12bb..6a1aeef83ee91693aa412f2fb0efaad42cdf5725 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(java.util.Map.of("group", "org.quiltmc", "module", "quilt-loader-dependencies")); ++ + for (String outgoingConfigurationName : settings.getPublishingMode().get().outgoingConfigurations()) { + extendsFrom(outgoingConfigurationName, configuration, project); + }