mirror of https://github.com/sbt/sbt.git
Add jar file to compileOutputs
This commit is contained in:
parent
85fcb014f0
commit
e1cf43c6bd
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue