mirror of https://github.com/sbt/sbt.git
Merge pull request #5341 from eed3si9n/wip/publishto
customize publishTo for nightlies
This commit is contained in:
commit
19cf7a4da0
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue