sbtVersion convenience setting

This commit is contained in:
Mark Harrah 2011-05-21 13:51:13 -04:00
parent 9439a737b8
commit b4597eb931
2 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,7 @@ object Defaults extends BuildCommon
))
def globalCore: Seq[Setting[_]] = inScope(GlobalScope)(Seq(
parallelExecution :== true,
sbtVersion in GlobalScope <<= appConfiguration { _.provider.id.version },
pollInterval :== 500,
logBuffered :== false,
trapExit :== false,

View File

@ -247,6 +247,7 @@ object Keys
val sbtResolver = SettingKey[Resolver]("sbt-resolver", "Provides a resolver for obtaining sbt as a dependency.")
val sbtDependency = SettingKey[ModuleID]("sbt-dependency", "Provides a definition for declaring the current version of sbt.")
val sbtVersion = SettingKey[String]("sbt-version", "Provides the version of sbt. This setting should be not be modified.")
// special
val parallelExecution = SettingKey[Boolean]("parallel-execution", "Enables (true) or disables (false) parallel execution of tasks.")