Add jar file to compileOutputs

This commit is contained in:
Adrien Piquerez 2024-04-08 15:53:12 +02:00
parent 85fcb014f0
commit e1cf43c6bd
1 changed files with 3 additions and 5 deletions

View File

@ -899,11 +899,9 @@ object Defaults extends BuildCommon {
compileOutputs := {
import scala.jdk.CollectionConverters.*
val c = fileConverter.value
val classFiles =
manipulateBytecode.value.analysis.readStamps.getAllProductStamps.keySet.asScala
(classFiles.toSeq map { x =>
c.toPath(x)
}) :+ compileAnalysisFile.value.toPath
val (_, jarFile) = compileIncremental.value
val classFiles = compile.value.readStamps.getAllProductStamps.keySet.asScala
classFiles.toSeq.map(c.toPath) :+ compileAnalysisFile.value.toPath :+ c.toPath(jarFile)
},
compileOutputs := compileOutputs.triggeredBy(compile).value,
tastyFiles := Def.taskIf {