Define local Scripted plugin keys in Global scope

This commit is contained in:
Dale Wijnand 2018-01-17 15:18:37 +00:00
parent d26085155d
commit b9e3d6aa2d
No known key found for this signature in database
GPG Key ID: 4F256E3D151DF5EF
2 changed files with 3 additions and 5 deletions

View File

@ -624,7 +624,6 @@ def otherRootSettings =
aggregate in bintrayRelease := false
) ++ inConfig(Scripted.RepoOverrideTest)(
Seq(
scriptedPrescripted := (_ => ()),
scriptedLaunchOpts := List(
"-Xmx1500M",
"-Xms512M",

View File

@ -13,11 +13,10 @@ object ScriptedPlugin extends sbt.AutoPlugin {
}
import autoImport._
import Scripted._
override def projectSettings = Seq(
override def globalSettings = super.globalSettings ++ Seq(
scriptedBufferLog := true,
scriptedPrescripted := { _ =>
}
scriptedPrescripted := { _ => },
)
}