Closed
Description
Using either Maven (2.12.3) or Gradle (5.14.3), with various versions of Google Java Format (including the latest, 1.11.0), Spotless doesn't reflow long strings.
This is similar to google/google-java-format#566 and google/google-java-format#642 for the GJF IntelliJ and Eclipse plugins.
Spotless would have to explicitly call StringWrapper.wrap()
. This has been added in GJF 1.8.
Maybe there should be a configuration flag to disable it, similar to GJF's command-line --skip-reflowing-long-strings
.