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 #44

Merged
merged 3 commits into from
Apr 18, 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,28 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Luke Bemish <[email protected]>
Date: Sun, 31 Mar 2024 19:32:07 -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..27e7dbbbd6aa4d254f9a6121690e329ba5bebe7a 100644
--- a/src/main/java/net/fabricmc/loom/configuration/RemapConfigurations.java
+++ b/src/main/java/net/fabricmc/loom/configuration/RemapConfigurations.java
@@ -26,6 +26,7 @@ package net.fabricmc.loom.configuration;

import java.util.List;
import java.util.Locale;
+import java.util.Map;
import java.util.function.Function;

import org.gradle.api.Action;
@@ -172,6 +173,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);
}
Loading