Merge pull request #326 from eed3si9n/wip/nightly

add hook for nightly build
This commit is contained in:
eugene yokota 2019-12-28 16:23:51 -05:00 committed by GitHub
commit f8a8371057
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 3 deletions

View File

@ -366,6 +366,14 @@ def customCommands: Seq[Setting[_]] = Seq(
}
)
ThisBuild / publishTo := {
val old = (ThisBuild / publishTo).value
sys.props.get("sbt.build.localmaven") match {
case Some(path) => Some(MavenCache("local-maven", file(path)))
case _ => old
}
}
inThisBuild(
Seq(
whitesourceProduct := "Lightbend Reactive Platform",

View File

@ -7,7 +7,7 @@ object Dependencies {
def nightlyVersion: Option[String] = sys.props.get("sbt.build.version")
private val ioVersion = nightlyVersion.getOrElse("1.3.1")
private val ioVersion = nightlyVersion.getOrElse("1.4.0-M2")
private val utilVersion = nightlyVersion.getOrElse("1.3.2")
private val sbtIO = "org.scala-sbt" %% "io" % ioVersion

View File

@ -1 +1 @@
sbt.version=1.3.3
sbt.version=1.3.6

View File

@ -1,5 +1,5 @@
addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.0.0")
addSbtPlugin("org.foundweekends" % "sbt-bintray" % "0.5.5")
addSbtPlugin("org.foundweekends" % "sbt-bintray" % "0.5.6")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "2.0.0")
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.6.1")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.0.2")