customize publishTo for nightlies

This commit is contained in:
Eugene Yokota 2019-12-27 02:43:46 -05:00
parent 9400225fe9
commit b18876b1f5
1 changed files with 7 additions and 0 deletions

View File

@ -1326,6 +1326,13 @@ 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
}
}
ThisBuild / whitesourceProduct := "Lightbend Reactive Platform"
ThisBuild / whitesourceAggregateProjectName := {
// note this can get detached on tag build etc