sbt-assembly
sbt-release
Our great sponsors
sbt-assembly | sbt-release | |
---|---|---|
5 | 0 | |
1,919 | 625 | |
0.4% | 0.0% | |
0.0 | 7.2 | |
5 days ago | 7 days ago | |
Scala | Scala | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sbt-assembly
-
SBT error when running package application: java.lang.RuntimeException: No main class detected.
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.
-
Welcome to JAR Hell, Part 2: Deployment Strategies
Sbt-assembly defaults to silently concatenating configs. But even if it didn't, the configs wouldn't be in any particular order when resolving.
-
Building native images and compiling with GraalVM and sbt
With the sbt-assembly plugin you can create JAR-files with all of its dependencies (fat JARs). sbt assembly creates this target/scala-2.12/apply-at-vdb-assembly-0.1.0-SNAPSHOT.jar which has a size of around 42MB:
sbt-release
We haven't tracked posts mentioning sbt-release yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
sbt-native-packager - sbt Native Packager
coursier - Pure Scala Artifact Fetching
sbt-buildinfo - I know this because build.sbt knows this.
sbt-dependency-check - SBT Plugin for OWASP DependencyCheck. Monitor your dependencies and report if there are any publicly known vulnerabilities (e.g. CVEs). :rainbow:
sbt-docker - Create Docker images directly from sbt
sbt-pack - A sbt plugin for creating distributable Scala packages.
sbt-sonatype - A sbt plugin for publishing Scala/Java projects to the Maven central.
better-monadic-for - Desugaring scala `for` without implicit `withFilter`s
JMH - "Trust no one, bench everything." - sbt plugin for JMH (Java Microbenchmark Harness)
ScalaKata2 - Interactive Playground