Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude quilt-loader dependencies from remapped configurations - 1.2 #48

Merged
merged 2 commits into from
Apr 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 <[email protected]>
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);
}
Loading