mirror of
https://github.com/sbt/sbt.git
synced 2026-10-06 10:03:56 +02:00
Adding source dependency on itself doesn't really bring any value so there's no reason to do it. We avoided recording that kind of dependencies by performing a check in `AnalysisCallback` implementation. However, if we have another implementation like `TestCallback` used for testing we do not benefit from that check. Therefore, the check has been moved to dependency phase were dependencies are collected.