mirror of https://github.com/sbt/sbt.git
After adding the automatic lookup to external hooks for missing binary jars, the scripted test dependency-management/invalidate-internal started failing. This was because the previous analysis contained a jar dependency that still existed on disk but was no longer a part of the dependency classpath. Fundamentally the problem is that the zinc compile analysis is not tightly coupled with the sbt build state. To fix this, we can cache the dependency classpath file stamps in the same way that we cache the input file stamps in external hooks and manually diff them at the sbt level. We then force updates regardless of the difference between the zinc state and the sbt state. |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||