dependabot[bot] opened a new pull request, #39827: URL: https://github.com/apache/beam/pull/39827
Bumps [com.diffplug.spotless:spotless-plugin-gradle](https://github.com/diffplug/spotless) from 5.6.1 to 8.10.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/diffplug/spotless/releases">com.diffplug.spotless:spotless-plugin-gradle's releases</a>.</em></p> <blockquote> <h2>Gradle Plugin v8.10.0</h2> <h3>Added</h3> <ul> <li>New <code>shortenFullyQualifiedTypes()</code> step for Java, which replaces fully-qualified type names with their simple names and adds the imports they need. Best combined with <code>importOrder()</code> and <code>removeUnusedImports()</code>. (<a href="https://redirect.github.com/diffplug/spotless/issues/2945">#2945</a>)</li> <li>Add embedded lockfiles to Eclipse JDT for every supported version (<code>4.9</code> through <code>4.40</code>), so <code>eclipse()</code> resolves from Maven Central instead of querying a P2 update site. Versions without an embedded lockfile still fall back to P2 provisioning. (<a href="https://redirect.github.com/diffplug/spotless/issues/1996">#1996</a>)</li> </ul> <h3>Fixed</h3> <ul> <li><code>removeUnusedImports</code> no longer fails on Java <code>import module</code> declarations. (<a href="https://redirect.github.com/diffplug/spotless/issues/2890">#2890</a>)</li> <li><code>expandWildcardImports()</code> now builds its type-solver classpath from each Java source set's compile classpath instead of every resolvable configuration. Unrelated configurations (for example generated-code or custom resolvable configs that are not ready yet) are no longer resolved. (<a href="https://redirect.github.com/diffplug/spotless/issues/2998">#2998</a>)</li> <li><code>spotlessCheck</code> violation message now suggests the correct composite/included-build task path (e.g. <code>./gradlew :my-utils:spotlessApply</code>) instead of a bare <code>spotlessApply</code> / <code>:spotlessApply</code> that does not select included-build tasks. (<a href="https://redirect.github.com/diffplug/spotless/issues/2421">#2421</a>)</li> <li>Parallel multi-project builds no longer intermittently fail with "Cannot fingerprint input property 'stepsInternalEquality': ConfigurationCacheHackList cannot be serialized" / "Failed to provision P2 dependencies" when using <code>eclipse()</code> (or other P2-backed steps). Subprojects now share one deduping P2 provisioner and P2 queries are serialized process-wide. (<a href="https://redirect.github.com/diffplug/spotless/issues/3004">#3004</a>)</li> </ul> <h3>Changes</h3> <ul> <li>Default <code>google-java-format</code> remains <code>1.28.0</code> on JVM 17; bumps to <code>1.30.0</code> on JVM 21+; require at least <code>1.30.0</code> on JVM 25+ for <code>import module</code> support.</li> <li>Bump default <code>eclipse</code> version to latest <code>4.39</code> -> <code>4.40</code>. (<a href="https://redirect.github.com/diffplug/spotless/issues/1996">#1996</a>)</li> <li>Bump default <code>adocfmt</code> version <code>0.2.0</code> -> <code>0.3.1</code>, which adds table formatting support (<code>formatTables</code>, <code>tableLayout</code>, <code>tableMaxLineWidth</code>, <code>tableBlankLines</code>).</li> </ul> <h2>Gradle Plugin v8.9.0</h2> <h3>Added</h3> <ul> <li>Add support for Java formatting via <a href="https://github.com/agustafson/prince-of-space"><code>prince-of-space</code></a> with the new <code>princeOfSpace()</code> step. (<a href="https://redirect.github.com/diffplug/spotless/pull/2991">#2991</a>)</li> </ul> <h3>Fixed</h3> <ul> <li>Prevent parallel Gradle input fingerprinting from failing when <code>toggleOffOn()</code> wraps a slow lazy formatter step with no matching target files. (<a href="https://redirect.github.com/diffplug/spotless/pull/2994">#2994</a>)</li> </ul> <h3>Changes</h3> <ul> <li>Bump default <code>greclipse</code> version to latest <code>4.39</code> -> <code>4.40</code>. (<a href="https://redirect.github.com/diffplug/spotless/pull/2989">#2989</a>)</li> <li>Bump default <code>tabletest-formatter</code> version <code>1.1.1</code> -> <code>1.1.2</code>.</li> </ul> <h2>Gradle Plugin v8.8.0</h2> <h3>Added</h3> <ul> <li>Add support for custom string format for license header copyright year via <code>yearStringFormat()</code>. (<a href="https://redirect.github.com/diffplug/spotless/pull/2965">#2965</a>)</li> </ul> <h2>Gradle Plugin v8.7.0</h2> <h3>Added</h3> <ul> <li>Add support for AsciiDoc formatting via <code>adocfmt</code>. (<a href="https://redirect.github.com/diffplug/spotless/pull/2960">#2960</a>)</li> <li><code>flexmark()</code> step now supports arbitrary formatter options via the <code>formatterOptions</code> map. (<a href="https://redirect.github.com/diffplug/spotless/pull/2968">#2968</a>)</li> </ul> <h3>Fixed</h3> <ul> <li><code>toggleOffOn</code> no longer disables lint-only steps such as <code>forbidWildcardImports</code>. (<a href="https://redirect.github.com/diffplug/spotless/pull/2962">#2962</a>)</li> <li>Prevent build caches from interfering when executing under the <code>-PspotlessIdeHook</code> mode. (<a href="https://redirect.github.com/diffplug/spotless/issues/2365">#2365</a>)</li> <li>Parse standard git year output in LicenseHeaderStep. (<a href="https://redirect.github.com/diffplug/spotless/issues/2940">#2940</a>)</li> <li>Fix <code>StringIndexOutOfBoundsException</code> in scenarios where copyright year is surrounded by whitespace. (<a href="https://redirect.github.com/diffplug/spotless/pull/2973">#2973</a>)</li> </ul> <h3>Changes</h3> <ul> <li>Bump default <code>greclipse</code> version to latest <code>4.35</code> -> <code>4.39</code>. (<a href="https://redirect.github.com/diffplug/spotless/pull/2924">#2924</a>)</li> </ul> <h2>Gradle Plugin v8.6.0</h2> <h3>Added</h3> <ul> <li>Add <code>cacheDirectory(...)</code> to <code>eclipse()</code>, <code>eclipseCdt()</code>, and <code>greclipse()</code>; the default P2 cache is <code>$GRADLE_USER_HOME/caches/p2-data</code>. (<a href="https://redirect.github.com/diffplug/spotless/pull/2944">#2944</a>)</li> </ul> <h3>Fixed</h3> <ul> <li><code>forbidWildcardImports</code> and <code>forbidModuleImports</code> now detect imports that have leading whitespace (indentation/tabs). (<a href="https://redirect.github.com/diffplug/spotless/pull/2939">#2939</a>)</li> <li><code>versionCatalog()</code> no longer splits long inline tables across multiple lines — Gradle's TOML 1.0 parser cannot read multi-line inline tables. The <code>maxLineLength</code> option has been removed. (<a href="https://redirect.github.com/diffplug/spotless/issues/2948">#2948</a>)</li> <li><code>EclipseJdtFormtterStep</code> now 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. (<a href="https://redirect.github.com/diffplug/spotless/pull/2942">#2942</a>)</li> </ul> <h3>Changes</h3> <ul> <li>Improved formatting performance by eliminating redundant per-step line-ending normalization in the core formatter loop. (<a href="https://redirect.github.com/diffplug/spotless/pull/2934">#2934</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/diffplug/spotless/commit/2fd42ea3c8a6b70402da64d8be9c1d369fb0ff82"><code>2fd42ea</code></a> Published gradle/8.10.0</li> <li><a href="https://github.com/diffplug/spotless/commit/d71ed1a700e464b6451303a3fd30fda252232f9d"><code>d71ed1a</code></a> Published lib/4.10.0</li> <li><a href="https://github.com/diffplug/spotless/commit/8b57c012e011813a72b05a3016d379bb0f267155"><code>8b57c01</code></a> Add shortenFullyQualifiedTypes step (fixes <a href="https://redirect.github.com/diffplug/spotless/issues/2945">#2945</a>) (<a href="https://redirect.github.com/diffplug/spotless/issues/3005">#3005</a> closes <a href="https://redirect.github.com/diffplug/spotless/issues/2945">#2945</a>)</li> <li><a href="https://github.com/diffplug/spotless/commit/6b42c5e4ae3b5de295e8e95d6072e6fcc7a09dc6"><code>6b42c5e</code></a> fix: make the FQN-collecting visitor a named static class</li> <li><a href="https://github.com/diffplug/spotless/commit/4430823a4457bd7373a0e1bcd6ee146606942eed"><code>4430823</code></a> Better organization on the changelogs.</li> <li><a href="https://github.com/diffplug/spotless/commit/45bea6db6b6d7ff28104b942f4c6b4e1af900328"><code>45bea6d</code></a> Better place to put the shortenFullyQualifiedTypes docs</li> <li><a href="https://github.com/diffplug/spotless/commit/0c49e657461527c70e46f11df2aac9585f05f529"><code>0c49e65</code></a> chore: spotlessApply</li> <li><a href="https://github.com/diffplug/spotless/commit/1c5bc0aea337ee1e949611e35523933ed3ce4dba"><code>1c5bc0a</code></a> docs: list the Java import steps in the plugin README tables of contents</li> <li><a href="https://github.com/diffplug/spotless/commit/cd57b5872660e32be849ba03769a63130da3a2d6"><code>cd57b58</code></a> docs: document shortenFullyQualifiedTypes in the plugin READMEs</li> <li><a href="https://github.com/diffplug/spotless/commit/b395fd1adf54fa6861ee38ab02c76e96cca971b5"><code>b395fd1</code></a> docs: changelog entries and README matrix row for shortenFullyQualifiedTypes</li> <li>Additional commits viewable in <a href="https://github.com/diffplug/spotless/compare/gradle/5.6.1...gradle/8.10.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
