-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Config cache error: dependencies
cannot serialize object of type 'org.gradle.api.artifacts.Configuration'
#17471
Comments
@gradle/configuration-cache is it a duplicate of #12871? |
The |
Duplicate of #12871 |
Should this be reopened? #12871 was resolved as of Gradle 7.5, but in 7.5.1 the DependencyReportTask still does not use the new APIs, and still reports configuration cache problems, due to use of getProject() and trying to serialize Configuration. So now this issue seems to be relevant again, because the dependencies report now has to be updated to use the new APIs. |
This issue happens with Gradle 7.5.1, should this be opened or create a new bug report? |
Apparently, I chose the duplicated issue poorly. The correct one is #17470, and it was fixed only in 7.6. |
Duplicate of #17470 |
Run
./gradlew dependencies --configuration-cache
Expected Behavior
No config cache errors
Current Behavior
Got this error:
Your Environment
Gradle 7.1
The text was updated successfully, but these errors were encountered: