On Thu, 2023-12-28 at 10:48 +0100, Ulrich Mayring wrote: > Well, how would I know how to define this task? I want it to do > exactly > what "Run Single" in the IDE does. So how to write this task?
This should work as long as you have a simple single Java Application which you would like to execute: singleRun { afterEvaluate { run() } }