mirror of https://github.com/sbt/sbt.git
Fix project/binary-plugin
This commit is contained in:
parent
8875b6819f
commit
d09a164c92
|
|
@ -3,20 +3,20 @@ package sbttest // you need package http://stackoverflow.com/questions/9822008/
|
|||
import sbt._, syntax._, Keys._
|
||||
|
||||
object C extends AutoPlugin {
|
||||
object autoImport {
|
||||
object bN extends AutoPlugin {
|
||||
override def trigger = allRequirements
|
||||
}
|
||||
lazy val check = taskKey[Unit]("Checks that the AutoPlugin and Build are automatically added.")
|
||||
}
|
||||
object autoImport {
|
||||
// object bN extends AutoPlugin {
|
||||
// override def trigger = allRequirements
|
||||
// }
|
||||
lazy val check = taskKey[Unit]("Checks that the AutoPlugin and Build are automatically added.")
|
||||
}
|
||||
}
|
||||
|
||||
import C.autoImport._
|
||||
import C.autoImport._
|
||||
|
||||
object A extends AutoPlugin {
|
||||
override def requires = bN
|
||||
override def trigger = allRequirements
|
||||
override def projectSettings = Seq(
|
||||
check := {}
|
||||
)
|
||||
// override def requires = bN
|
||||
override def trigger = allRequirements
|
||||
override def projectSettings = Seq(
|
||||
check := {}
|
||||
)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,9 @@
|
|||
// no package declaration
|
||||
|
||||
import sbt._
|
||||
import sbt._, syntax._, Keys._
|
||||
|
||||
object D extends AutoPlugin {
|
||||
|
||||
object autoImport {
|
||||
lazy val dKey = settingKey[String]("Test key")
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue