mirror of https://github.com/sbt/sbt.git
Merge pull request #6457 from steinybot/fix/runner-scope
Remove configuration scope from runner settings
This commit is contained in:
commit
cb2e228549
|
|
@ -2561,11 +2561,8 @@ object Defaults extends BuildCommon {
|
|||
// 1. runnerSettings is added unscoped via JvmPlugin.
|
||||
// 2. In addition it's added scoped to run task.
|
||||
lazy val runnerSettings: Seq[Setting[_]] = Seq(runnerTask, forkOptions := forkOptionsTask.value)
|
||||
private[this] lazy val newRunnerSettings: Seq[Setting[_]] = {
|
||||
val unscoped: Seq[Def.Setting[_]] =
|
||||
Seq(runner := ClassLoaders.runner.value, forkOptions := forkOptionsTask.value)
|
||||
inConfig(Compile)(unscoped) ++ inConfig(Test)(unscoped)
|
||||
}
|
||||
private[this] lazy val newRunnerSettings: Seq[Setting[_]] =
|
||||
Seq(runner := ClassLoaders.runner.value, forkOptions := forkOptionsTask.value)
|
||||
|
||||
lazy val baseTasks: Seq[Setting[_]] = projectTasks ++ packageBase
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue