mirror of https://github.com/sbt/sbt.git
sbtVersion convenience setting
This commit is contained in:
parent
9439a737b8
commit
b4597eb931
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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.")
|
||||
|
|
|
|||
Loading…
Reference in New Issue