sbt-ci-release
sbt-assembly
sbt-ci-release | sbt-assembly | |
---|---|---|
6 | 6 | |
275 | 1,941 | |
0.4% | 0.5% | |
5.6 | 6.3 | |
14 days ago | 16 days ago | |
Scala | Scala | |
Apache License 2.0 | MIT License |
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-ci-release
-
Publish a Scala Library using Github Actions in No Time
I'm a bit surprised to see sbt-ci-release (https://github.com/sbt/sbt-ci-release) not even mentioned. It's widely used for this.
-
sbt Plugins Community Repository
The sooner JARs are on Maven, the better for all of us. With https://github.com/sbt/sbt-ci-release/ publishing is sooo easy.
-
Need Help Creating Scala JS Library Artifact
The first thing you must try is running sbt publishLocal then, you should be able to depend on the artifact from another project, when that works, you will likely want to publish the artifacts somewhere, maven central is the most popular way but it requires some setup, you can use https://github.com/sbt/sbt-ci-release to auto-publish on new commits (it explains how to get a sonatype account), github-packages is very handy but it requires a github access token to pull the packages (https://github.com/djspiewak/sbt-github-packages).
-
Show HN: Simple games ported to Scala 3 – Try them in the browser
> Veautiful - https://www.wbillingsley.com/veautiful/
Thanks for sharing, first time I see this project mentioned.
> Any day now, I'll get a chance to improve the documentation of the framework (and give it a proper release rather than using JitPack snapshots all the time).
It is worth commenting about https://github.com/sbt/sbt-ci-release which makes it simple to auto-publish to maven central.
-
Publishing a library
Use https://github.com/sbt/sbt-ci-release
-
Trying to implement git actions for sonatypeRelease
sbt-ci-release is a great one-stop shop for this. It handles sbt-pgp, sbt-release and sbt-sonatype for you, so you don't have to configure them individually yourself. The readme also has an easy to follow tutorial.
sbt-assembly
-
Trouble with sbt-native-packager
sbt-assembly is still my go-to. So what I'd prefer is the combination of sbt-assembly (to build my .jar that I can just java -jar anytime I want) and sbt-jib (to construct my OCI image including my assembly .jar for deployment in some container orchestration environment).
- sbt-assembly 2.0.0-RC1 released
-
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.
-
How to handle sbt deduplication errors on module-info.class files
Ticket of record is https://github.com/sbt/sbt-assembly/issues/391
-
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:
What are some alternatives?
sbt-versions
sbt-native-packager - sbt Native Packager
JMH - "Trust no one, bench everything." - sbt plugin for JMH (Java Microbenchmark Harness)
coursier - Pure Scala Artifact Fetching
sbt-release - A release plugin for sbt
sbt-revolver - An SBT plugin for dangerously fast development turnaround in Scala
sbt-docker - Create Docker images directly from sbt
tut - doc/tutorial generator for scala
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-updates - sbt plugin that can check Maven and Ivy repositories for dependency updates
sbt-buildinfo - I know this because build.sbt knows this.