Minimal report:
s.write(tests, TestFQNSerializer::serialize)
Actual output:
s.write(tests, TestFQNSerializer: : serialize)
The output is invalid Groovy and fails compilation.
Environment
Spotless Gradle plugin: 8.9.0
GrEclipse: reproduced with 4.35 and 4.40
Last known good GrEclipse version: 4.27
Gradle: 9.7.0
Pinning GrEclipse to 4.27 avoids the corruption.
I found no existing issue matching this exact formatting failure.
Minimal report:
Actual output:
The output is invalid Groovy and fails compilation.
Environment
Spotless Gradle plugin:
8.9.0GrEclipse: reproduced with
4.35and4.40Last known good GrEclipse version:
4.27Gradle:
9.7.0Pinning GrEclipse to
4.27avoids the corruption.I found no existing issue matching this exact formatting failure.