mirror of https://github.com/sbt/sbt.git
Upgrade to sbt-native-packager 1.1.1. Fixes #76.
The upgrade includes this fix https://github.com/sbt/sbt-native-packager/pull/169
This commit is contained in:
parent
bea3fac13e
commit
cffb8e0441
|
|
@ -1,6 +1,4 @@
|
||||||
import com.typesafe.sbt.packager.Keys._
|
import scala.util.control.Exception.catching
|
||||||
import com.typesafe.sbt.SbtNativePackager._
|
|
||||||
import util.control.Exception.catching
|
|
||||||
import _root_.bintray.InternalBintrayKeys._
|
import _root_.bintray.InternalBintrayKeys._
|
||||||
import _root_.bintray.{BintrayRepo, Bintray}
|
import _root_.bintray.{BintrayRepo, Bintray}
|
||||||
|
|
||||||
|
|
@ -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.
|
// This build creates a SBT plugin with handy features *and* bundles the SBT script for distribution.
|
||||||
val root = (project in file(".")).
|
val root = (project in file(".")).
|
||||||
|
enablePlugins(UniversalPlugin, LinuxPlugin, DebianPlugin, RpmPlugin, WindowsPlugin).
|
||||||
settings(
|
settings(
|
||||||
organization := "org.scala-sbt",
|
organization := "org.scala-sbt",
|
||||||
name := "sbt-launcher-packaging",
|
name := "sbt-launcher-packaging",
|
||||||
version := "0.1.0",
|
version := "0.1.0",
|
||||||
crossTarget <<= target,
|
crossTarget <<= target,
|
||||||
packagerSettings,
|
|
||||||
deploymentSettings,
|
deploymentSettings,
|
||||||
mapGenericFilesToLinux,
|
|
||||||
mapGenericFilesToWindows,
|
|
||||||
publishToSettings,
|
publishToSettings,
|
||||||
sbtLaunchJarUrl := downloadUrlForVersion(sbtVersionToRelease),
|
sbtLaunchJarUrl := downloadUrlForVersion(sbtVersionToRelease),
|
||||||
sbtLaunchJarLocation <<= target apply (_ / "sbt-launch.jar"),
|
sbtLaunchJarLocation <<= target apply (_ / "sbt-launch.jar"),
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ object PluginBuild extends Build {
|
||||||
|
|
||||||
val root = Project("root", file(".")) settings(
|
val root = Project("root", file(".")) settings(
|
||||||
resolvers += Resolver.url("scalasbt", new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases"))(Resolver.ivyStylePatterns),
|
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"
|
libraryDependencies += "net.databinder" %% "dispatch-http" % "0.8.10"
|
||||||
) //dependsOn(nativePackager)
|
) //dependsOn(nativePackager)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue