MinecraftForge / ForgeGradle

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

Use a normal `JavaExec` task for Minecraft #924

Open SquidDev opened 1 year ago

SquidDev commented 1 year ago

This partially reverts cbf0f406851a8da00593415cd89fa8ab1e3c965d, changing Minecraft run tasks to use a normal JavaExec. The task is now configured normally, rather than configuration being deferred until when the task executes.

This makes it possible to modify or clone the task, such as applying Jacoco or (in my case) running the game under xvfb.