·
6 commits
to main
since this release
Added
- New
<shortenFullyQualifiedTypes>step for Java, which replaces fully-qualified type names with their simple names and adds the imports they need. Best combined with<importOrder>and<removeUnusedImports>. (#2945) - Add embedded lockfiles to Eclipse JDT for every supported version (
4.9through4.40), soeclipse()resolves from Maven Central instead of querying a P2 update site. Versions without an embedded lockfile still fall back to P2 provisioning. (#1996) - Add support to apply alternate license header within same format (#872)
- Add support to skip license header application based on source file content pattern (#650).
Fixed
removeUnusedImportsno longer fails on Javaimport moduledeclarations. (#2890)- Concurrent P2 provisioning no longer races Solstice's on-disk cache (affects Eclipse-based formatters under parallel builds). (#3004)
Changes
- Default
google-java-formatremains1.28.0on JVM 17; bumps to1.30.0on JVM 21+; require at least1.30.0on JVM 25+ forimport modulesupport. - Bump default
eclipseversion to latest4.39->4.40. (#1996) - Document Maven skip properties
spotless.skip,spotless.check.skip, andspotless.apply.skip. Goal-specific skips now live on their own mojos so they no longer leak across goals. (#3009) - Bump default
adocfmtversion0.2.0->0.3.1, which adds table formatting support (<formatTables>,<tableLayout>,<tableMaxLineWidth>,<tableBlankLines>).