sbt/sbt-app/src
bitloi f6319f19a3
[2.x] fix: Fixes ThisBuild-scoped keys using root project's aggregates (#8703)
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
2026-02-07 19:25:55 -05:00
..
main refactor: Hide Ivy-related classes 2025-08-09 01:52:45 -04:00
repo-override-test lm-coursier-shaded 2.0.12 2022-10-30 18:25:04 -04:00
sbt-test [2.x] fix: Fixes ThisBuild-scoped keys using root project's aggregates (#8703) 2026-02-07 19:25:55 -05:00
test/scala/sbt Fix #8441: Allow system JNA on OpenBSD by making jna.nosys conditional 2026-01-08 15:19:36 -08:00