Improve disabling publish artificial root.

Not only is this safer, it also disables delivering the ivy file.
This commit is contained in:
Dale Wijnand 2015-02-22 04:15:11 +00:00 committed by Eugene Yokota
parent 03dc3f6fd0
commit 58a2e634e2
1 changed files with 4 additions and 1 deletions

View File

@ -58,7 +58,10 @@ object Build {
autoGeneratedProject := true
)
def defaultAggregatedProject(id: String, base: File, agg: Seq[ProjectRef]): Project =
defaultProject(id, base).aggregate(agg: _*).settings(Keys.publishArtifact := false)
defaultProject(id, base).aggregate(agg: _*).settings(
Keys.publish := (),
Keys.publishLocal := ()
)
@deprecated("Use Attributed.data", "0.13.0")
def data[T](in: Seq[Attributed[T]]): Seq[T] = Attributed.data(in)