We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11a7ab3 commit cc44169Copy full SHA for cc44169
main/src/main/scala/sbt/Defaults.scala
@@ -1393,11 +1393,10 @@ object Defaults extends BuildCommon {
1393
val x = {
1394
import analysis.{ apis, relations => rel }
1395
rel.internalClassDeps(c).map(intlStamp(_, analysis, s + c)) ++
1396
- rel.externalDeps(c).map(stamp) +
1397
- (apis.internal.get(c) match {
1398
- case Some(x) => x.compilationTimestamp
1399
- case _ => Long.MinValue
1400
- })
+ rel.externalDeps(c).map(stamp) ++
+ rel.productClassName.reverse(c).flatMap { pc =>
+ apis.internal.get(pc).map(_.compilationTimestamp)
+ } + Long.MinValue
1401
}.max
1402
if (x != Long.MinValue) {
1403
stamps(c) = x
0 commit comments