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:
Ethan Atkins 2019-05-25 19:09:00 -07:00
parent 1a8b9de625
commit f8d729cd3b
1 changed files with 1 additions and 1 deletions

View File

@ -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,