Sourced from com.diffplug.spotless:spotless-plugin-gradle's releases.
Gradle Plugin v8.6.0
Added
- Add
cacheDirectory(...)toeclipse(),eclipseCdt(), andgreclipse(); the default P2 cache is$GRADLE_USER_HOME/caches/p2-data. (#2944)Fixed
forbidWildcardImportsandforbidModuleImportsnow detect imports that have leading whitespace (indentation/tabs). (#2939)versionCatalog()no longer splits long inline tables across multiple lines — Gradle's TOML 1.0 parser cannot read multi-line inline tables. ThemaxLineLengthoption has been removed. (#2948)EclipseJdtFormtterStepnow can conditionally set compiler source/compliance options. Allows for better parsing of AST Node for newer language features and more correct sorting; e.g. records or seal classes. (#2942)Changes
- Improved formatting performance by eliminating redundant per-step line-ending normalization in the core formatter loop. (#2934)
3a0f101
Published gradle/8.6.0007e9d8
Published lib/4.6.2a074d53
Allow setting the local P2 cache dir in the Spotless Gradle plugin (#2944)a266fc2
Merge branch 'main' into add-cache-directory-dsle0d466e
Fix: sort members treats record declarations as types (#2942)3936b6f
Merge branch 'main' into main278765f
fix: expandWildcardImports support pom type dependency, fix #2839
(#2935)a18ddec
Remove maxLineLength from versionCatalog step (#2949)b91ad87
Add changelog entries for versionCatalog maxLineLength removal5408d5c
Remove maxLineLength from versionCatalog step