title: How to create executable JAR with Gradle?
body: <p>How to create executable JAR with gradle?</p>
  
  <p>By <em>executable</em> I mean JAR should run and run well, not run and then crash with unresolved dependencies.</p>
  
  <p>Also I need 1-2 Gradle-style line solution, not dozen lines groovy code, collecting dependencies, generated by some unknown plugins.</p>
  
  <p>Also, solution should work out of the box. No any complex configuration applicable.</p>
  
  <p>I have tried <code>plugin: "edu.sc.seis.launch4j"</code> and it didn't work. </p>