Skip to content

Conversation

@maxlambrecht
Copy link
Member

Gradle 9 enforces stricter task validation for JacocoReport tasks. The root aggregate jacocoTestReport task was missing required configuration, causing the build to fail.

This PR:

  • Applies the jacoco plugin at the root project so jacocoAnt is available
  • Explicitly configures jacocoClasspath
  • Sets required XML and HTML report output locations

With this fix, ./gradlew jacocoTestReport runs successfully under Gradle 9.x

Configure jacocoClasspath and report output locations explicitly and apply the
jacoco plugin at the root project to satisfy Gradle 9 task validation.

Signed-off-by: Max Lambrecht <[email protected]>
@maxlambrecht maxlambrecht merged commit 8fe801e into spiffe:main Dec 18, 2025
8 checks passed
@maxlambrecht maxlambrecht deleted the fix/jacoco-gradle9-validation branch December 18, 2025 21:30
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.

2 participants