sbt/sbt-app/src/sbt-test/project/thisProject-aggregate
bitloi 4dfe68a681 fix: Resolve ThisProject to empty to avoid cycle in aggregate/deps DAG
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).
2026-02-01 01:59:46 +01:00
..
build.sbt Handle ThisProject in aggregate and dependencies 2026-02-01 01:06:07 +01:00
test fix: Resolve ThisProject to empty to avoid cycle in aggregate/deps DAG 2026-02-01 01:59:46 +01:00