A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/sbt/sbt-native-packager below:

GitHub - sbt/sbt-native-packager: sbt Native Packager

SBT native packager lets you build application packages in native formats. It offers different archetypes for common configurations, such as simple Java apps or server applications.

Add the following to your project/plugins.sbt file:

// for autoplugins
addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "<version>")

In your build.sbt enable the plugin you want. For example the JavaAppPackaging.

enablePlugins(JavaAppPackaging)

Or if you need a server with autostart support

enablePlugins(JavaServerAppPackaging)

If you have enabled one of the archetypes (app or server), you can build your application with

sbt <config-scope>/packageBin
# universal zip
sbt Universal/packageBin

# debian package
sbt Debian/packageBin

# rpm package
sbt Rpm/packageBin

# docker image
sbt Docker/publishLocal

# graalvm image
sbt GraalVMNativeImage/packageBin

Read more in the specific format documentation on how to configure and build your package.

There's a complete "getting started" guide and more detailed topics available at the sbt-native-packager site.

Please feel free to contribute documentation, or raise issues where you feel it may be lacking.

Please read the contributing.md on how to build and test native-packager.

These are a list of plugins that either use sbt-native-packager, provide additional features or provide a richer API for a single packaging format.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4