fix library transitiveness

dev/0.11
asie 2018-11-05 10:40:34 +01:00
parent bf49182098
commit b6779a6ec0
1 changed files with 3 additions and 2 deletions

View File

@ -74,8 +74,9 @@ public class AbstractPlugin implements Plugin<Project> {
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();