add hook for nightly build

This commit is contained in:
Eugene Yokota 2019-12-28 16:04:18 -05:00
parent 574be6fb79
commit ea9d382b89
2 changed files with 9 additions and 1 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

@ -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")