Skip to content

Fix missing jacocoAggregatedReport task registration#15680

Closed
lkris2uic wants to merge 2 commits intoapache:mainfrom
lkris2uic:fix-jacoco-aggregated-task
Closed

Fix missing jacocoAggregatedReport task registration#15680
lkris2uic wants to merge 2 commits intoapache:mainfrom
lkris2uic:fix-jacoco-aggregated-task

Conversation

@lkris2uic
Copy link

Description

This change fixes a build failure when running with test coverage enabled.

CodeCoveragePlugin.RootExtPlugin attempts to look up the
jacocoAggregatedReport task during plugin application, but the task is never
registered in the root project. This causes the build to fail during
configuration time.

The fix explicitly registers the JacocoReport task before configuring it,
ensuring the task always exists when coverage is enabled.

@dweiss
Copy link
Contributor

dweiss commented Feb 8, 2026

Please take a look at #15677 - I fixed it already. Thank you for looking though!

@dweiss dweiss closed this Feb 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants