From b6779a6ec0c49423945f774ff707d2131da05f67 Mon Sep 17 00:00:00 2001 From: asie Date: Mon, 5 Nov 2018 10:40:34 +0100 Subject: [PATCH] fix library transitiveness --- src/main/java/net/fabricmc/loom/AbstractPlugin.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/fabricmc/loom/AbstractPlugin.java b/src/main/java/net/fabricmc/loom/AbstractPlugin.java index 8bc3f93..6f0566a 100644 --- a/src/main/java/net/fabricmc/loom/AbstractPlugin.java +++ b/src/main/java/net/fabricmc/loom/AbstractPlugin.java @@ -74,8 +74,9 @@ public class AbstractPlugin implements Plugin { Configuration compileModsConfig = project.getConfigurations().maybeCreate(Constants.COMPILE_MODS); - compileModsConfig.setTransitive(false); //Dont get transitive deps of mods - project.getConfigurations().maybeCreate(Constants.MINECRAFT); + compileModsConfig.setTransitive(false); // Dont get transitive deps of mods + Configuration minecraftConfig = project.getConfigurations().maybeCreate(Constants.MINECRAFT); + minecraftConfig.setTransitive(false); // The launchers do not recurse dependencies configureIDEs(); configureCompile();