I would potentially like to build a blocking task using the BuildLauncher (the task is a JavaExec) then terminate it when a particular condition is met (in this case, some source files are changed). Terminating the connection doesn’t seem to work as the daemon still has it locked down, I believe.
I’m guessing that since Gradle was not designed to support non-terminating tasks, this might not be possible at the moment, but doesn’t hurt to ask =)
Regards, Daryl