Skip to content

Commit

Permalink
Exclude quilt-loader dependencies from remapped configurations - 1.2 (#…
Browse files Browse the repository at this point in the history
…48)

* Exclude quilt-loader dependencies from remapped configurations

* Fix missing import
  • Loading branch information
lukebemish authored Apr 22, 2024
1 parent 3ae46b5 commit f996735
Showing 1 changed file with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Luke Bemish <lukebemish@lukebemish.dev>
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);
}

0 comments on commit f996735

Please sign in to comment.