Currently I have a task that executes to run the program, something like
task runApp(type: JavaExec) { classpath = sourceSets.main.runtimeClasspath m