I am writing a GradlePlugin in Java. The plugin calls methods from a jar file. This jar actually prints output to the console.
So I have a task:
public cla