MinecraftForge / ForgeGradle

Minecraft mod development framework used by Forge and FML for the gradle build system
GNU Lesser General Public License v2.1
508 stars 436 forks source link

Add option to generate Eclipse launch groups #866

Closed Matyrobbrt closed 2 years ago

Matyrobbrt commented 2 years ago

This PR adds an option in the MinecraftExtension (generateLaunchGroups()), which will make the runX.launch configurations be a launch group, running prepareX and the game sequentially, in this order, and as such, having the same behaviour as IntelliJ. I'm not sure if the option should be on by default, as it affects launch times (eclipse compiling on file save), needing to run a gradle task.

Draft until I manage to test all contexts in which the configuration can be run.

Matyrobbrt commented 2 years ago

Merged with #868