See #1255,
unfortunately assemble doesn't seem to be the right target for run either.
Assemble assembles the whole project, run invokes compileJava and later jar on the individual projects.
Our problem is that this native task touches multiple subproject, so we cannot use their jar task.
I guess we should fix this by adding run.dependsOn(task) in addition to assemble, unless someone has a more clever approach?