dependabot[bot] opened a new pull request, #39924: URL: https://github.com/apache/beam/pull/39924
Bumps [com.diffplug.spotless:spotless-plugin-gradle](https://github.com/diffplug/spotless) from 5.6.1 to 8.10.1. <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.1</h2> <h3>Fixed</h3> <ul> <li><code>prettier()</code> and other npm-based steps no longer fail to start on npm 12 (<code>EUNKNOWNCONFIG</code> from <code>--scripts-prepend-node-path</code>). (<a href="https://redirect.github.com/diffplug/spotless/issues/3024">#3024</a>)</li> <li><code>spotlessInternalRegisterDependencies</code> now writes its output under a build directory that is configured after the plugin is applied, instead of always under the default <code>build/</code>. (<a href="https://redirect.github.com/diffplug/spotless/issues/2114">#2114</a>)</li> <li><code>targetExclude</code> now accepts a Gradle <code>Directory</code>, <code>DirectoryProperty</code>, or <code>Provider<Directory></code> and excludes the files under it. Previously the directory was treated as a single file, so excluding one silently did nothing. (<a href="https://redirect.github.com/diffplug/spotless/issues/2667">#2667</a>)</li> </ul> <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> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/diffplug/spotless/commit/f2f2348ba1f28f84e7fa0d41373190478718d55e"><code>f2f2348</code></a> Published gradle/8.10.1</li> <li><a href="https://github.com/diffplug/spotless/commit/4bc8980fd8fd5da2bae1ad29e72123bc14d1f2b2"><code>4bc8980</code></a> Published lib/4.10.1</li> <li><a href="https://github.com/diffplug/spotless/commit/6fedfd57bae8d5b8b7a771819c27d801245564cc"><code>6fedfd5</code></a> chore(deps): update plugin errorprone to v5.1.1 (<a href="https://redirect.github.com/diffplug/spotless/issues/3035">#3035</a>)</li> <li><a href="https://github.com/diffplug/spotless/commit/5e10f0b2db861b8e26f95e7ebfd68741d9f60027"><code>5e10f0b</code></a> chore(deps): update plugin errorprone to v5.1.1</li> <li><a href="https://github.com/diffplug/spotless/commit/3aa82b5e1ce78565efd99e5161b4dc40d2bac8d6"><code>3aa82b5</code></a> fix: expand a directory passed to targetExclude into the files under it (<a href="https://redirect.github.com/diffplug/spotless/issues/3032">#3032</a>)</li> <li><a href="https://github.com/diffplug/spotless/commit/68bddde173e559033620335303bd6fee07bb77e8"><code>68bddde</code></a> shortenFullyQualifiedTypes: skip FQNs whose simple name clashes with types de...</li> <li><a href="https://github.com/diffplug/spotless/commit/6f73ed360fe0a435be80fac3130b215b50405975"><code>6f73ed3</code></a> fix(deps): update dependency org.codehaus.plexus:plexus-utils to v4.1.0 (<a href="https://redirect.github.com/diffplug/spotless/issues/3030">#3030</a>)</li> <li><a href="https://github.com/diffplug/spotless/commit/bdeafe7a8cafdc738a72eb43a708985d114466dd"><code>bdeafe7</code></a> docs: changelog entry for the targetExclude directory fix</li> <li><a href="https://github.com/diffplug/spotless/commit/4187eb399fc28dae1548707738dff2f4cef96fed"><code>4187eb3</code></a> fix: expand a directory passed to targetExclude into the files under it</li> <li><a href="https://github.com/diffplug/spotless/commit/cd525f2e3d9eb9d3127c2e65b6f1c6f573c258e2"><code>cd525f2</code></a> shortenFullyQualifiedTypes: skip FQNs clashing with types declared in the sam...</li> <li>Additional commits viewable in <a href="https://github.com/diffplug/spotless/compare/gradle/5.6.1...gradle/8.10.1">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]
