mirror of https://github.com/sbt/sbt.git
Fix auto-plugin test from removal of unary_! on Nature but not AutoPlugin.
This commit is contained in:
parent
c9f83dde47
commit
2ee2576cb9
|
|
@ -6,7 +6,7 @@ object AI extends AutoImport
|
|||
{
|
||||
lazy val A = Nature("A")
|
||||
lazy val B = Nature("B")
|
||||
lazy val D = Nature("D")
|
||||
lazy val E = Nature("E")
|
||||
|
||||
lazy val q = config("q")
|
||||
lazy val p = config("p").extend(q)
|
||||
|
|
@ -19,6 +19,10 @@ object AI extends AutoImport
|
|||
|
||||
import AI._
|
||||
|
||||
object D extends AutoPlugin {
|
||||
def select: Natures = E
|
||||
}
|
||||
|
||||
object Q extends AutoPlugin
|
||||
{
|
||||
def select: Natures = A && B
|
||||
|
|
@ -48,6 +52,7 @@ object Q extends AutoPlugin
|
|||
|
||||
object R extends AutoPlugin
|
||||
{
|
||||
// NOTE - Only plugins themselves support exclusions...
|
||||
def select = Q && !D
|
||||
|
||||
override def projectSettings = Seq(
|
||||
|
|
|
|||
Loading…
Reference in New Issue