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 := {
|
compileOutputs := {
|
||||||
import scala.jdk.CollectionConverters.*
|
import scala.jdk.CollectionConverters.*
|
||||||
val c = fileConverter.value
|
val c = fileConverter.value
|
||||||
val classFiles =
|
val (_, jarFile) = compileIncremental.value
|
||||||
manipulateBytecode.value.analysis.readStamps.getAllProductStamps.keySet.asScala
|
val classFiles = compile.value.readStamps.getAllProductStamps.keySet.asScala
|
||||||
(classFiles.toSeq map { x =>
|
classFiles.toSeq.map(c.toPath) :+ compileAnalysisFile.value.toPath :+ c.toPath(jarFile)
|
||||||
c.toPath(x)
|
|
||||||
}) :+ compileAnalysisFile.value.toPath
|
|
||||||
},
|
},
|
||||||
compileOutputs := compileOutputs.triggeredBy(compile).value,
|
compileOutputs := compileOutputs.triggeredBy(compile).value,
|
||||||
tastyFiles := Def.taskIf {
|
tastyFiles := Def.taskIf {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue