Added
- Add
<cleanup>false</cleanup>to<googleJavaFormat>to disable google-java-format's non-whitespace cleanups. (#3157) - Add a
<maxLineLength>parameter to<googleJavaFormat>. (#3151)
Overrides the 100-column limit prescribed by the GOOGLE and AOSP styles; requiresgoogle-java-format2.0.0or later.
Changes
- Bump default
google-java-formatversion1.36.1->2.0.0. (#3157)
This version applies some small non-whitespace cleanups by default (removing redundant semicolons, empty annotation parentheses, and parentheses around single lambda parameters), which can be disabled with<cleanup>false</cleanup>.