Is there a way in gradle to specify a dependency (a jar), and then run that jarfile directly within a task?

Edit
Report