Fix project/binary-plugin

This commit is contained in:
Eugene Yokota 2016-05-05 22:51:42 -04:00
parent 8875b6819f
commit d09a164c92
2 changed files with 14 additions and 16 deletions

View File

@ -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 := {}
)
}

View File

@ -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")
}
}
}