mirror of
https://github.com/sbt/sbt.git
synced 2026-09-04 08:45:56 +02:00
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:
@@ -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[_]]
|
||||
|
||||
Reference in New Issue
Block a user