mirror of
https://github.com/sbt/sbt.git
synced 2026-09-03 16:39:24 +02:00
Resolving ThisProject to ProjectRef(uri, p.id) created a self-reference in the aggregate (and dependency) list. BuildUtil.checkCycles runs topological sort on this relation and throws Cyclic when it sees the self-loop. Treat ThisProject as no-op: resolve to Vector.empty so the build loads without error. aggregate(ThisProject) / dependsOn(ThisProject) is effectively a no-op (self is already included).