Current Behavior
After bumping to Gradle 8.14, any project using AGP's isTestCoverageEnabled = true flag to enable test coverage breaks.
This issue occurs at different times (configuration or execution) depending on whether you have Configuration Cache enabled, but it fails all the time.
The only workaround I found was to downgrade to 8.13.
Expected Behavior
Build should run smoothly since this is an undocumented breaking change
AGP issue
https://issuetracker.google.com/issues/416200588
Self-contained Reproducer Project
https://github.com/gmazzo/gradle814-agp-coverage-issue
Gradle version
8.14
Build scan URL (optional)
No response
Your Environment (optional)
No response
Current Behavior
After bumping to
Gradle 8.14, any project using AGP'sisTestCoverageEnabled = trueflag to enable test coverage breaks.This issue occurs at different times (configuration or execution) depending on whether you have Configuration Cache enabled, but it fails all the time.
The only workaround I found was to downgrade to
8.13.Expected Behavior
Build should run smoothly since this is an undocumented breaking change
AGP issue
https://issuetracker.google.com/issues/416200588
Self-contained Reproducer Project
https://github.com/gmazzo/gradle814-agp-coverage-issue
Gradle version
8.14
Build scan URL (optional)
No response
Your Environment (optional)
No response