mirror of https://github.com/sbt/sbt.git
Define local Scripted plugin keys in Global scope
This commit is contained in:
parent
d26085155d
commit
b9e3d6aa2d
|
|
@ -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",
|
||||||
|
|
|
||||||
|
|
@ -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 := { _ => },
|
||||||
}
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue