mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-28 04:07:01 -05:00
Generate IDE run configs on a per config basis. Allows for much finer grain control over what run configs are generated.
Defaults to generate all run configs on the root project.
This commit is contained in:
@@ -84,6 +84,10 @@ public class GenIdeaProjectTask extends AbstractLoomTask {
|
||||
}
|
||||
|
||||
for (RunConfigSettings settings : getExtension().getRunConfigs()) {
|
||||
if (!settings.shouldGenerateIDEConfig()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
runManager.appendChild(RunConfig.runConfig(project, settings).genRuns(runManager));
|
||||
settings.makeRunDir();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user