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.
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.