Deploy über-JARs. Restart processes. (port of codahale/assembly-sbt)
You may also use sbt-assembly to produce an uber JAR that embeds the Scala stdlib together with your code, which means that now for running your program you only need a JRE like java -jar app-assembly.jar. This option is great because now if you start adding dependencies to your project those are also included in this massive JAR.
Plugin to generate native-image binaries with sbt
Assembly, however, has some disadvantages so you may also want to look into other alternatives like sbt-native-packager. You may even want to produce a binary using sbt-native-image (which uses GraalVM under the hood) so your users do not need to install anything at all, not even a JRE.
Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.
sbt Native Packager
IMO don't take any of this advice and use https://github.com/sbt/sbt-native-packager
GraalVM native-image with Scala 3 reflection hell
3 projects | reddit.com/r/scala | 9 Jan 2022
Is Scala and Play Framework dying?
5 projects | reddit.com/r/scala | 8 Dec 2021
Some Scala 3 local REPL changes
1 project | reddit.com/r/scala | 27 Nov 2021
Install Scala 3 on Mac m1
1 project | reddit.com/r/scala | 5 Oct 2021
Native code access from scala 3 without using Graal
1 project | reddit.com/r/scala | 30 Aug 2021