This SBT plugin helps create Play Framework projects. Common dependencies I find useful are added by default, avoiding repetition in build files. The packageBin task will furthermore deviate from the default and package assets into the resulting jar.
- Custom release process
- Predefined buildinfo settings
- Support for running the app as an OS service (via sbt-native-packager)
addSbtPlugin("com.malliina" % "sbt-play" % "1.7.5")
Enable one of the available plugins:
- PlayLinuxPlugin
- PlayDefaultPlugin
Web apps packaged as Systemd services:
val linuxWebsite = Project("mywebsite", file("."))
.enablePlugins(PlayLinuxPlugin)
Libraries:
val playLibrary = Project("mywebsite", file("."))
.enablePlugins(PlayDefaultPlugin)