title: how to produce a 'fatjar' for a simple console application with gradle kotlin dsl
body: <p>I have a simple app... but consider that even "hello world" would work as an example.  I am building with gradle kotlin dsl.</p>
  
  <p>I have applied the application plugin, and set mainClassName, but the only jar I get (in /build/libs) does not contain the libraries so cannot be simply run with "java filename".  In fact, for some reason I still need to give it a main class as well.</p>
  
  <p>But my real question, "what is what easiest way to produce the jar with libraries(fat jar) as an artifact?"   </p>
  
  <p>I would have thought the application plugin would have an option for that?</p>