-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exclude quilt-loader-dependencies from remapped configurations (#44)
* Exclude quilt-loader-dependencies from remapped configurations * Rebase, gitPatcher style * And let's actually fix that rebase
- Loading branch information
1 parent
4f334f5
commit a6216f9
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
patches/0005-Exclude-quilt-loader-dependencies-from-remapped-conf.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
} |