Task to build 'all' jar?


(Noel Yap) #1

Is there a task that builds an ‘all’ jar (ie a jar file that contains all the dependencies) so that one doesn’t have to supply a classpath in order to run ‘main’?


(Peter Niederwieser) #2

You can use the ‘application’ plugin, the (third-party) ‘one-jar’ plugin, or declare your own ‘Jar’ task.