New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Micronaut JacocoReportAggregationPlugin broken in Gradle 8.2 #25618
Comments
tresat
changed the title
Changes to Configuration breaks Micronaut TestAggregation usage in Gradle 8.2
Micronaut JacocoReportAggregationPlugin broken in Gradle 8.2
Jul 6, 2023
We are having the same issue in our project using
|
@asoftwareguy - Looks like the same error. This fix should be available in Gradle 8.2.1, coming very soon. |
bot-gradle
added a commit
that referenced
this issue
Jul 6, 2023
…co report aggregation with only the `classes` attribute present <!--- The issue this PR addresses --> Fixes #25618 Co-authored-by: Thomas Tresansky <ttresansky@gradle.com>
6 tasks
This was referenced Jul 31, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
Success with Gradle 8.1.1: https://ge.micronaut.io/s/z4db5b7satq26/dependencies?focusedDependency=WzAsMCwxMjM0LFswLDAsWzEyMzRdXV0&toggled=W1swXSxbMCwwXV0
Current Behavior
Failure with Gradle 8.2: https://ge.micronaut.io/s/kruw4j3titqcs/failure
Context (optional)
Selection of
classDirectories
in theJacocoReport
task is failing due to too many matching variants when a project applies thejacoco-report-aggregation
plugin and its project dependency applies thejava-test-fixtures
plugin and contains test fixtures, which also make aclasses
variant such as:available. The failure is due to an
ArtifactView
that useswithVariantReselection()
, the originatingConfiguration
reported in the error message is not problematic. Reselection should not be used to select class directories here.Steps to Reproduce
See new integration test in
JacocoAggregationIntegrationTest
or rerun the Micronaut build at this commit using Gradle 8.2.Gradle version
8.2
Gradle version that used to work
8.1.1
The text was updated successfully, but these errors were encountered: