Merge pull request #1177 from sbt/wip/issue-1176

When fragmenting Defaults, we mixed back settings in the wrong order.
This commit is contained in:
Havoc Pennington 2014-03-12 09:13:58 -04:00
commit a006235644
3 changed files with 10 additions and 1 deletions

View File

@ -971,7 +971,7 @@ object Classpaths
publishM2 <<= publishTask(publishM2Configuration, deliverLocal)
)
@deprecated("0.13.2", "This has been split into jvmIvySettings and ivyPublishSettings.")
val publishSettings: Seq[Setting[_]] = jvmPublishSettings ++ ivyPublishSettings
val publishSettings: Seq[Setting[_]] = ivyPublishSettings ++ jvmPublishSettings
private[this] def baseGlobalDefaults = Defaults.globalDefaults(Seq(
conflictWarning :== ConflictWarning.default("global"),

View File

@ -0,0 +1,8 @@
val root = Project("root", file("."), settings=Defaults.defaultSettings)
TaskKey[Unit]("checkArtifacts", "test") := {
val arts = packagedArtifacts.value
assert(!arts.isEmpty, "Packaged artifacts must not be empty!")
}

View File

@ -0,0 +1 @@
> checkArtifacts