Deprecate seq. The implicits Seq[Setting[_]] <-> SettingsDefinition handle the typical plugin/build.sbt case.

This commit is contained in:
Mark Harrah 2013-07-19 19:43:28 -04:00
parent 2e0257f440
commit 61509408c9
1 changed files with 2 additions and 0 deletions

View File

@ -1523,6 +1523,8 @@ trait BuildExtra extends BuildCommon
seq( artLocal := artifact.value, taskLocal := taskDef.value, art, pkgd )
}
// because this was commonly used, this might need to be kept longer than usual
@deprecated("In build.sbt files, this call can be removed. In other cases, this can usually be replaced by Seq.", "0.13.0")
def seq(settings: Setting[_]*): SettingsDefinition = new Def.SettingList(settings)
def externalIvySettings(file: Initialize[File] = inBase("ivysettings.xml"), addMultiResolver: Boolean = true): Setting[Task[IvyConfiguration]] =