Mill can generate (Uber)jar by mill assembly. Generated file is located at out/assembly.dest/out.jar.
How can I customize output filename instead of out.jar? I'd like to use value of publishVersion (I'm using mill-vcs-version).
sbt can generate well-named uberjar.
You can customize the outcome by overriding the
assemblytarget.Instead of
artifactName, you could also useartifactId, which would also contain the Scala version suffix and potential platform suffixes.If you need those kind of customizations in multiple places, you should consider using a trait module.