Skip to content
This repository has been archived by the owner on Apr 25, 2021. It is now read-only.

Commit

Permalink
Upgrade to sbt-native-packager 1.1.1. Fixes #76.
Browse files Browse the repository at this point in the history
The upgrade includes this fix sbt/sbt-native-packager#169
  • Loading branch information
dwijnand committed Aug 22, 2016
1 parent bea3fac commit cffb8e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import com.typesafe.sbt.packager.Keys._
import com.typesafe.sbt.SbtNativePackager._
import util.control.Exception.catching
import scala.util.control.Exception.catching
import _root_.bintray.InternalBintrayKeys._
import _root_.bintray.{BintrayRepo, Bintray}

Expand All @@ -25,15 +23,13 @@ val windowsBuildId = settingKey[Int]("build id for Windows installer")

// This build creates a SBT plugin with handy features *and* bundles the SBT script for distribution.
val root = (project in file(".")).
enablePlugins(UniversalPlugin, LinuxPlugin, DebianPlugin, RpmPlugin, WindowsPlugin).
settings(
organization := "org.scala-sbt",
name := "sbt-launcher-packaging",
version := "0.1.0",
crossTarget <<= target,
packagerSettings,
deploymentSettings,
mapGenericFilesToLinux,
mapGenericFilesToWindows,
publishToSettings,
sbtLaunchJarUrl := downloadUrlForVersion(sbtVersionToRelease),
sbtLaunchJarLocation <<= target apply (_ / "sbt-launch.jar"),
Expand Down
2 changes: 1 addition & 1 deletion project/project/plugins.scala
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ object PluginBuild extends Build {

val root = Project("root", file(".")) settings(
resolvers += Resolver.url("scalasbt", new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases"))(Resolver.ivyStylePatterns),
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "0.6.3"),
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.1.1"),
libraryDependencies += "net.databinder" %% "dispatch-http" % "0.8.10"
) //dependsOn(nativePackager)

Expand Down

0 comments on commit cffb8e0

Please sign in to comment.