mirror of
https://github.com/sbt/sbt.git
synced 2026-09-04 08:45:56 +02:00
Fix project/binary-plugin
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user