You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "dependabot[bot] (via GitHub)" <gi...@apache.org> on 2026/08/20 04:23:02 UTC

[PR] Bump com.diffplug.spotless:spotless-plugin-gradle from 5.6.1 to 8.10.0 [beam]

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 &quot;Cannot fingerprint input property 'stepsInternalEquality': ConfigurationCacheHackList cannot be serialized&quot; / &quot;Failed to provision P2 dependencies&quot; 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> -&gt; <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> -&gt; <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> -&gt; <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> -&gt; <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> -&gt; <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 />
   
   
   [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.diffplug.spotless:spotless-plugin-gradle&package-manager=gradle&previous-version=5.6.1&new-version=8.10.0)](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: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Bump com.diffplug.spotless:spotless-plugin-gradle from 5.6.1 to 8.10.0 [beam]

Posted by "derrickaw (via GitHub)" <gi...@apache.org>.
derrickaw closed pull request #39827: Bump com.diffplug.spotless:spotless-plugin-gradle from 5.6.1 to 8.10.0
URL: https://github.com/apache/beam/pull/39827


-- 
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: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Bump com.diffplug.spotless:spotless-plugin-gradle from 5.6.1 to 8.10.0 [beam]

Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #39827:
URL: https://github.com/apache/beam/pull/39827#issuecomment-5352218097

   ## [Codecov](https://app.codecov.io/gh/apache/beam/pull/39827?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
   :white_check_mark: All modified and coverable lines are covered by tests.
   :white_check_mark: Project coverage is 57.09%. Comparing base ([`9451007`](https://app.codecov.io/gh/apache/beam/commit/94510075efe1ea52c9f2a3dcc42ab8fc0a54b9e2?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`6b97231`](https://app.codecov.io/gh/apache/beam/commit/6b97231f8baf69e1a9f13801c6f34a72ec3f81cc?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
   
   <details><summary>Additional details and impacted files</summary>
   
   
   
   ```diff
   @@             Coverage Diff              @@
   ##             master   #39827      +/-   ##
   ============================================
   - Coverage     57.10%   57.09%   -0.01%     
   + Complexity     3641     3635       -6     
   ============================================
     Files          1191     1191              
     Lines        192542   192542              
     Branches       3816     3816              
   ============================================
   - Hits         109944   109931      -13     
   - Misses        79036    79044       +8     
   - Partials       3562     3567       +5     
   ```
   
   | [Flag](https://app.codecov.io/gh/apache/beam/pull/39827/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
   |---|---|---|
   | [java](https://app.codecov.io/gh/apache/beam/pull/39827/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `72.09% <ø> (-0.05%)` | :arrow_down: |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.
   </details>
   
   [:umbrella: View full report in Codecov by Harness](https://app.codecov.io/gh/apache/beam/pull/39827?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).   
   :loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
   <details><summary> :rocket: New features to boost your workflow: </summary>
   
   - :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
   - :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
   </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: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Bump com.diffplug.spotless:spotless-plugin-gradle from 5.6.1 to 8.10.0 [beam]

Posted by "dependabot[bot] (via GitHub)" <gi...@apache.org>.
dependabot[bot] commented on PR #39827:
URL: https://github.com/apache/beam/pull/39827#issuecomment-5355659243

   OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major version` or `@dependabot ignore this minor version`. You can also ignore all major, minor, or patch releases for a dependency by adding an [`ignore` condition](https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates#ignore) with the desired `update_types` to your config file.
   
   If you change your mind, just re-open this PR and I'll resolve any conflicts on it.


-- 
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: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Bump com.diffplug.spotless:spotless-plugin-gradle from 5.6.1 to 8.10.0 [beam]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #39827:
URL: https://github.com/apache/beam/pull/39827#issuecomment-5352419763

   Checks are failing. Will not request review until checks are succeeding. If you'd like to override that behavior, comment `assign set of reviewers`


-- 
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: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org