Skip to content

Instantly share code, notes, and snippets.

@tobym
Created January 13, 2015 17:01
Show Gist options
  • Save tobym/3665514fde79eaab8724 to your computer and use it in GitHub Desktop.
Save tobym/3665514fde79eaab8724 to your computer and use it in GitHub Desktop.
sbt-native-packager example, based on minimal-akka-scala-seed activator template
import com.typesafe.sbt.SbtNativePackager._
import NativePackagerKeys._
name := """minimal-akka-scala-seed"""
version := "1.0"
scalaVersion := "2.11.1"
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-actor" % "2.3.6",
"com.typesafe.akka" %% "akka-testkit" % "2.3.6" % "test",
"org.scalatest" %% "scalatest" % "2.1.6" % "test")
packageArchetype.java_server
rpmVendor := "Acme Inc"
rpmLicense := Some("MIT")
rpmGroup in Rpm := Some("Applications/Examples")
packageSummary in Linux := "Ping Pong example"
packageDescription in Linux := "Akka example with ping pong actors"
maintainer in Linux := "Maint <maint@example.com>"
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "0.8.0-M1")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment