How do I export a JavaFX Application and dependencies in the same jar in Intellij?
<p>I am trying to export my JavaFX application that uses the jsoup library as a single jar. In File > Project Structure, I am able to drag jsoup into my jar, but this creates two jar files when I build the artifact, and removing the jsoup jar causes my program not to work. I just want one jar that I can distribute, so what am I doing wrong? I've posted my artifact configuration below.</p>

<p><a href="https://i.stack.imgur.com/CHyUn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CHyUn.png" alt="First Tab"></a></p>

<p><a href="https://i.stack.imgur.com/4Xv9B.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4Xv9B.png" alt="Second Tab"></a></p>