Integrating sbt DIST and Assembly commands
<p>I have a scala project for which I have imported the sbt assembly and native packager plugins.</p>

<p>now I can do <code>sbt assembly</code> and it builds a fat jar for my project.</p>

<p>what I desire is that if I do <code>sbt dist</code> then this fat jar is the one which gets packaged into a native format like a zip file.</p>

<p>however, when I do a <code>sbt dist</code> for my project it just builds a zip file with all the jar files. It doesn't pick my fat jar.</p>

<p>The reason I want the fat jar is that the <code>sbt dist</code> is blindly packaging everything without any merge strategy and therefore the output fails with errors. My fat jar works fine because I wrote merge strategy in the build.sbt.</p>

<p>But I cannot package my fat jar with the dist command.</p>