Skip to content

Commit 8142a0e

Browse files
committed
exclude Quilt Enigma dependency from enigma runtime configuration
1 parent 54127a1 commit 8142a0e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/main/java/net/ornithemc/keratin/KeratinGradleExtension.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import java.util.Collections;
1010
import java.util.LinkedHashSet;
1111
import java.util.List;
12+
import java.util.Map;
1213
import java.util.Set;
1314

1415
import org.apache.commons.io.FileUtils;
@@ -432,6 +433,12 @@ private Set<MinecraftVersion> configure(TaskSelection selection) throws Exceptio
432433
dependencies.add(enigmaRuntime.getName(), "net.ornithemc:enigma-swing:2.6.1");
433434
dependencies.add(enigmaRuntime.getName(), "org.quiltmc:quilt-enigma-plugin:2.4.0");
434435

436+
// exclude the Quilt Enigma dependency from the Quilt Enigma Plugin
437+
enigmaRuntime.exclude(Map.of(
438+
"group", "org.quiltmc",
439+
"module", "enigma"
440+
));
441+
435442
SourceSet constants = sourceSets.register(SourceSets.CONSTANTS).get();
436443
}
437444
if (selection == TaskSelection.EXCEPTIONS_AND_SIGNATURES) {

0 commit comments

Comments
 (0)