sbt-native-packager
sbt-ci-release
Our great sponsors
sbt-native-packager | sbt-ci-release | |
---|---|---|
5 | 6 | |
1,581 | 274 | |
-0.1% | -0.4% | |
6.8 | 6.1 | |
2 days ago | 4 days ago | |
Scala | Scala | |
BSD 2-clause "Simplified" 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-native-packager
-
I had a great experience with Scala and hopefully it will get more popular
once you outgrow scala-cli, you should know sbt has a lot of plugins ( some might say it's ecosystem is the only thing keeping it relevant....) like sbt-native-packager which again does the heavy lifting for you
-
Asking for help to improve codepreview
So far, we have been working mainly with projects that use https://github.com/sbt/sbt-native-packager, still, projects building fat jars should also work smoothly.
-
I removed sbt-assembly and sbt-buildinfo from my project.
You should use sbt-jib. (You shouldn't use sbt-native-packager either, it doesn't work well in this regard: [1], [2].)
-
Why Scala is way slower than python ... and than Java too in leetcode?
As others have stated, this is mainly due to the nature of the JVM. You can try using GraalVM however, which basically complies JVM bytecode to native-code avoiding startup time issues, sbt-native-packager lets you do this quite easily.
-
SBT error when running package application: java.lang.RuntimeException: No main class detected.
IMO don't take any of this advice and use https://github.com/sbt/sbt-native-packager
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.
What are some alternatives?
sbt-assembly - Deploy über-JARs. Restart processes. (port of codahale/assembly-sbt)
sbt-versions
sbt-pack - A sbt plugin for creating distributable Scala packages.
JMH - "Trust no one, bench everything." - sbt plugin for JMH (Java Microbenchmark Harness)
coursier - Pure Scala Artifact Fetching
sbt-native-image - Plugin to generate native-image binaries with sbt
sbt-revolver - An SBT plugin for dangerously fast development turnaround in Scala
xsbt-web-plugin - Servlet support for sbt
tut - doc/tutorial generator for scala
sbt-release - A release plugin for sbt