mirror of https://github.com/sbt/sbt.git
Always inject input tasks
I had tried to be cute and only inject certain tasks if they're actually used, but that made it so that dynamic tasks may not have be able to use them.
This commit is contained in:
parent
40dc3ff7b3
commit
8a456aef8a
|
|
@ -142,8 +142,6 @@ private[sbt] object Settings {
|
|||
case dynamicDependency.key => (dynamicDependency in scopedKey.scope := { () }) :: Nil
|
||||
case transitiveClasspathDependency.key =>
|
||||
(transitiveClasspathDependency in scopedKey.scope := { () }) :: Nil
|
||||
case allInputFiles.key => allFilesImpl(scopedKey) :: Nil
|
||||
case changedInputFiles.key => changedInputFilesImpl(scopedKey)
|
||||
case changedOutputFiles.key =>
|
||||
changedFilesImpl(scopedKey, changedOutputFiles, outputFileStamps)
|
||||
case pathToFileStamp.key => stamper(scopedKey) :: Nil
|
||||
|
|
@ -206,7 +204,8 @@ private[sbt] object Settings {
|
|||
}
|
||||
dynamicInputs.foreach(_ ++= inputs.map(g => DynamicInput(g, stamper, forceTrigger)))
|
||||
view.list(inputs)
|
||||
}) :: fileStamps(scopedKey) :: allFilesImpl(scopedKey) :: Nil
|
||||
}) :: fileStamps(scopedKey) :: allFilesImpl(scopedKey) :: Nil ++
|
||||
changedInputFilesImpl(scopedKey)
|
||||
}
|
||||
|
||||
private[this] val taskClass = classOf[Task[_]]
|
||||
|
|
|
|||
Loading…
Reference in New Issue