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 aggregate in bintrayRelease := false
) ++ inConfig(Scripted.RepoOverrideTest)( ) ++ inConfig(Scripted.RepoOverrideTest)(
Seq( Seq(
scriptedPrescripted := (_ => ()),
scriptedLaunchOpts := List( scriptedLaunchOpts := List(
"-Xmx1500M", "-Xmx1500M",
"-Xms512M", "-Xms512M",

View File

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