Skip to content

Conversation

@trask
Copy link
Member

@trask trask commented Dec 9, 2025

No description provided.

@trask trask force-pushed the bom-parallel-config branch from b1a792e to 5ad718c Compare December 9, 2025 04:46
trask added 2 commits December 9, 2025 09:55
The build had evaluationDependsOn() calls that forced sequential configuration:
- otel.java-conventions applied to ~400 projects, each waiting on :dependencyManagement
- otel.bom-conventions looping through all subprojects
- otel.javaagent-testing waiting on :testing:agent-for-testing

Changes:
- Removed evaluationDependsOn from convention plugins (otel.java-conventions, otel.bom-conventions, otel.javaagent-testing)
- Kept evaluationDependsOn only in 2 BOM build.gradle.kts files where directly needed
- Added explicit platform dependencies to ensure proper evaluation order

Result: Projects can now configure in parallel instead of sequentially queuing behind dependencyManagement, significantly improving configuration time.
The BOM convention plugin needs to force evaluation of all non-BOM
subprojects before filtering them by plugin and adding as dependency
constraints. Without this, when parallel configuration is enabled, the
published BOMs have missing or incomplete dependency constraints which
causes resolution failures in downstream builds like examples/distro.
@trask trask force-pushed the bom-parallel-config branch from 5ad718c to 4cf3230 Compare December 9, 2025 18:30
@trask trask closed this Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant