File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/main/java/net/minecraftforge/gradle/user Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -927,7 +927,8 @@ protected void configureIntellij()
927927 ideaConv .getModule ().getScopes ().get ("COMPILE" ).get ("plus" ).add (project .getConfigurations ().getByName (CONFIG_MC_DEPS ));
928928 ideaConv .getModule ().getScopes ().get ("COMPILE" ).get ("plus" ).add (project .getConfigurations ().getByName (CONFIG_MC ));
929929 ideaConv .getModule ().getScopes ().get ("RUNTIME" ).get ("plus" ).add (project .getConfigurations ().getByName (CONFIG_START ));
930- ideaConv .getModule ().getScopes ().get ("PROVIDED" ).get ("plus" ).add (project .getConfigurations ().getByName (CONFIG_PROVIDED ));
930+ // not provided here, becuase idea actually removes those from the runtime config
931+ ideaConv .getModule ().getScopes ().get ("COMPILE" ).get ("plus" ).add (project .getConfigurations ().getByName (CONFIG_PROVIDED ));
931932
932933 // add deobf task dependencies
933934 project .getTasks ().getByName ("ideaModule" ).dependsOn (TASK_DD_COMPILE , TASK_DD_PROVIDED );
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ protected void applyUserPlugin()
4848 project .getTasks ().getByName (TASK_SETUP_DEV ).dependsOn (Constants .TASK_DL_VERSION_JSON );
4949
5050 // add launchwrapper dep.. cuz everyone uses it apperantly..
51- project .getDependencies ().add (UserConstants . CONFIG_PROVIDED , "net.minecraft:launchwrapper:1.11" );
51+ project .getDependencies ().add (Constants . CONFIG_MC_DEPS , "net.minecraft:launchwrapper:1.11" );
5252 }
5353
5454 @ Override
You can’t perform that action at this time.
0 commit comments