sbt/buildfile/src
MkDev11 21b5c3b8df
[2.x] fix: Fix snapshot sbt version invalidation 7713 (#8486)
When using a SNAPSHOT version of sbt, if the sbt jars are republished
with breaking binary changes, the build definition should be recompiled.
Previously, the cache key only considered the source content, not the
classpath, causing NoSuchMethodError when cached classes referenced
methods that no longer exist.

This fix includes a hash of SNAPSHOT and -bin- jars (including their
modification times) in the cache key. When these jars change, the build
definition is recompiled.

Fixes #7713
2026-01-11 21:01:05 -05:00
..
main/scala/sbt/internal [2.x] fix: Fix snapshot sbt version invalidation 7713 (#8486) 2026-01-11 21:01:05 -05:00
test Support annotated definitions in build.sbt 2025-08-11 10:33:22 +02:00