Skip to content

Commit

Permalink
add some more setings for sbtNativePackager
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornregnell committed May 30, 2021
1 parent c8e9d6d commit d5d4503
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 9 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,14 @@ inScope(Global)(Build.globalSettings)
//https://www.scala-sbt.org/sbt-native-packager/formats/debian.html#requirements
enablePlugins(JavaAppPackaging)
enablePlugins(DebianPlugin)
enablePlugins(WindowsPlugin)
//Required according to:
//https://www.scala-sbt.org/sbt-native-packager/formats/debian.html#requirements
debianPackageDependencies := Seq("java8-runtime-headless")
maintainer := "[email protected]" // Who should be the person? must be a person?
maintainer := "[email protected]" // who should be the maintainer?
packageSummary := "scala3" // should include the right version etc
packageDescription := """More information here: https://www.scala-lang.org/"""
packageDescription := """https://www.scala-lang.org/""" //more info here?
//https://www.scala-sbt.org/sbt-native-packager/formats/windows.html#requirements
// https://wixtoolset.org/
wixProductId := "ce07be71-510d-414a-92d4-dff47631848a" // ???
wixProductUpgradeId := "4552fb0e-e257-4dbd-9ecb-dba9dbacf424" // ???
2 changes: 0 additions & 2 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,5 @@ addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.9.0")

addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.9.0")

//to enable native packaging:
//https://github.com/sbt/sbt-native-packager
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.7.6")

0 comments on commit d5d4503

Please sign in to comment.