mirror of https://github.com/sbt/sbt.git
Don't set fileOutputs at the compile config level
This was problematic because it had no dependency on the compile task which meant that any other task in the config would pick up those fileOutputs which did not make sense. I noticed this because (resources / outputFileStamps).value would include class files.
This commit is contained in:
parent
1a8b9de625
commit
f8d729cd3b
|
|
@ -594,7 +594,7 @@ object Defaults extends BuildCommon {
|
|||
compileInputsSettings
|
||||
) ++ configGlobal ++ defaultCompileSettings ++ compileAnalysisSettings ++ Seq(
|
||||
clean := Clean.task(ThisScope, full = false).value,
|
||||
fileOutputs := Seq(Glob(classDirectory.value, RecursiveGlob / "*.class")),
|
||||
fileOutputs in compile := Seq(Glob(classDirectory.value, RecursiveGlob / "*.class")),
|
||||
compile := compileTask.value,
|
||||
internalDependencyConfigurations := InternalDependencies.configurations.value,
|
||||
manipulateBytecode := compileIncremental.value,
|
||||
|
|
|
|||
Loading…
Reference in New Issue