-
Notifications
You must be signed in to change notification settings - Fork 459
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
Configuration cache failure 7.0.0BETA4 / Gradle 8.12 w/ custom prettier step #2372
Comments
I had a look into this issue and found the following:
I’m not sure what to make of this. It seems correct to me that Gradle ignores all At the moment, I can’t tell if this is a bug in Gradle or not. In the short term, using another List implementation will likely fix the issue. |
…instead of an immutable list workaround for diffplug#2372
Similar Gradle bug here: gradle/gradle#26942 That hints at it being a Gradle issue - serializing the collection using Gradle's serialization (instead of Java's), which bypasses the custom serialization protocol for these collections. On deserialize the Java code of course fails as the serialized data is not as expected. |
Another Gradle issue: gradle/gradle#31523 that states that Gradle doesn't support serializing the value from |
Spotless task fails when running with a custom prettier step:
This is the exception:
Running with
--no-configuration-cache
works.Gradle 8.12 / MacOS / Java 21 / Spotless 7.0.0BETA4 / Prettier 3.4.2
The text was updated successfully, but these errors were encountered: