mirror of https://github.com/sbt/sbt.git
Build-level references (ThisBuild, BuildRef) should not participate in aggregation. Only project-level references should aggregate. Previously, when querying `ThisBuild/version`, the aggregation logic would resolve ThisBuild to a BuildRef, then convert it to the root project's ProjectRef, causing it to incorrectly use the root project's aggregate definitions. The fix uses pattern matching to distinguish BuildReference from other reference types, returning None (no aggregation) for build-level scopes. Fixes sbt/sbt#5349 |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||