mirror of https://github.com/sbt/sbt.git
workaround sbt-native-packager issue
This commit is contained in:
parent
d5f8aff4c2
commit
70c725fc3b
|
|
@ -2,6 +2,7 @@ import scala.util.control.Exception.catching
|
|||
import _root_.bintray.InternalBintrayKeys._
|
||||
import _root_.bintray.{BintrayRepo, Bintray}
|
||||
import NativePackagerHelper._
|
||||
import com.typesafe.sbt.packager.SettingsHelper._
|
||||
|
||||
lazy val sbtOfflineInstall =
|
||||
sys.props.getOrElse("sbt.build.offline", sys.env.getOrElse("sbt.build.offline", "true")) match {
|
||||
|
|
@ -86,6 +87,7 @@ val root = (project in file(".")).
|
|||
) withUser "root" withGroup "root" withPerms "0644" gzipped) asDocs()
|
||||
},
|
||||
debianChangelog in Debian := { Some(sourceDirectory.value / "debian" / "changelog") },
|
||||
addPackage(Debian, packageBin in Debian, "deb"),
|
||||
// RPM SPECIFIC
|
||||
version in Rpm := {
|
||||
val stable = (sbtVersionToRelease split "[^\\d]" filterNot (_.isEmpty) mkString ".")
|
||||
|
|
|
|||
|
|
@ -1 +1,2 @@
|
|||
sbt.version=0.13.13
|
||||
sbt.version=0.13.15
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.1.4")
|
||||
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.2.0-M8")
|
||||
libraryDependencies += "net.databinder" %% "dispatch-http" % "0.8.10"
|
||||
addSbtPlugin("me.lessis" % "bintray-sbt" % "0.3.0")
|
||||
addSbtPlugin("com.eed3si9n" % "sbt-export-repo" % "0.1.0")
|
||||
|
|
|
|||
|
|
@ -1,3 +1,11 @@
|
|||
sbt (0.13.15) stable; urgency=low
|
||||
|
||||
* sbt 0.13.15 removes the Maven version range when possible.
|
||||
* Adds preliminary compatibility with JDK 9. Using this requires 0.13.15+ launcher. #2951 by @retronym
|
||||
* Adds "local-preloaded" repository for offline installation
|
||||
|
||||
-- Eugene Yokota <eed3si9n@gmail.com> Mon, 10 Apr 2017 00:00:00 +0000
|
||||
|
||||
sbt (0.13.13) stable; urgency=low
|
||||
|
||||
* The `new` command, which helps creating new build definitions.
|
||||
|
|
|
|||
Loading…
Reference in New Issue