Skip to content

Commit

Permalink
chore(deps): Bump com.diffplug.spotless:spotless-plugin-gradle from 6…
Browse files Browse the repository at this point in the history
….25.0 to 7.0.2 (#4109)

Bumps
[com.diffplug.spotless:spotless-plugin-gradle](https://github.com/diffplug/spotless)
from 6.25.0 to 7.0.2.
<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 v7.0.2</h2>
<h3>Fixed</h3>
<ul>
<li>Node.JS-based tasks now work with the configuration cache (<a
href="https://redirect.github.com/diffplug/spotless/issues/2372">#2372</a>)</li>
<li>Eclipse-based tasks can now handle parallel configuration (<a
href="https://redirect.github.com/diffplug/spotless/issues/2389">#2389</a>)</li>
</ul>
<h2>Gradle Plugin v7.0.1</h2>
<h3>Fixed</h3>
<ul>
<li>Deployment was missing part of the CDT formatter, now fixed. (<a
href="https://redirect.github.com/diffplug/spotless/issues/2384">#2384</a>)</li>
</ul>
<h2>Gradle Plugin v7.0.0</h2>
<h2>Headline changes</h2>
<ul>
<li>The long <code>7.0.0.BETAX</code> period is finally over, Spotless
for Gradle 7.0 is here!</li>
<li>Full, no asterisk support for configuration cache (end of <a
href="https://redirect.github.com/diffplug/spotless/issues/987">#987</a>)</li>
<li>Spotless now supports <a
href="https://github.com/diffplug/spotless/blob/main/CONTRIBUTING.md#lints">linting</a>
in addition to formatting.</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Allow setting Eclipse config from a string, not only from files (<a
href="https://redirect.github.com/diffplug/spotless/pull/2337">#2337</a>)</li>
<li>Bump default <code>ktlint</code> version to latest
<code>1.3.0</code> -&gt; <code>1.4.0</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2314">#2314</a>)</li>
<li>Bump default <code>jackson</code> version to latest
<code>2.18.0</code> -&gt; <code>2.18.1</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2319">#2319</a>)</li>
<li>Bump default <code>ktfmt</code> version to latest <code>0.52</code>
-&gt; <code>0.53</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2320">#2320</a>)</li>
<li>Bump default <code>ktlint</code> version to latest
<code>1.4.0</code> -&gt; <code>1.5.0</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2354">#2354</a>)</li>
<li>Bump minimum <code>eclipse-cdt</code> version to <code>11.0</code>
(removed support for <code>10.7</code>). (<a
href="https://redirect.github.com/diffplug/spotless/pull/2373">#2373</a>)</li>
<li>Bump default <code>eclipse</code> version to latest
<code>4.32</code> -&gt; <code>4.34</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2381">#2381</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li><code>toggleOffOn</code> now works with the configuration cache. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2378">#2378</a>
fixes <a
href="https://redirect.github.com/diffplug/spotless/issues/2317">#2317</a>)</li>
<li>Using <code>custom</code> with a Groovy closure now works with and
without configuration cache. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2376">#2376</a>)
<ul>
<li>Minimum required Gradle version for this to work has bumped from
<code>8.0</code> to <code>8.4</code>.</li>
<li>The global git system config is now ignored for line-ending
purposes.</li>
<li>Added <code>SerializeToByteArrayHack</code> as a flag for a
limitation at the intersection of <code>toggleOffOn</code> and
<code>custom</code>.</li>
</ul>
</li>
<li>You can now use <code>removeUnusedImports</code> and
<code>googleJavaFormat</code> at the same time again. (fixes <a
href="https://redirect.github.com/diffplug/spotless/issues/2159">#2159</a>)</li>
<li>The default list of type annotations used by
<code>formatAnnotations</code> now includes Jakarta Validation's
<code>Valid</code> and constraints validations (fixes <a
href="https://redirect.github.com/diffplug/spotless/issues/2334">#2334</a>)</li>
<li><code>indentWith[Spaces|Tabs]</code> has been deprecated in favor of
<code>leadingTabsToSpaces</code> and <code>leadingSpacesToTabs</code>.
(<a
href="https://redirect.github.com/diffplug/spotless/pull/2350">#2350</a>
fixes <a
href="https://redirect.github.com/diffplug/spotless/issues/794">#794</a>)</li>
</ul>
<h2>Gradle Plugin v7.0.0.BETA4</h2>
<h3>Added</h3>
<ul>
<li>Support for line ending policy <code>PRESERVE</code> which just
takes the first line ending of every given file as setting (no matter if
<code>\n</code>, <code>\r\n</code> or <code>\r</code>) (<a
href="https://redirect.github.com/diffplug/spotless/pull/2304">#2304</a>)</li>
<li>New <code>suppressLintsFor</code> DSL (<a
href="https://github.com/diffplug/spotless/tree/main/plugin-gradle#linting">docs</a>)
(<a
href="https://redirect.github.com/diffplug/spotless/pull/2307">#2307</a>)
<ul>
<li><code>ignoreErrorForStep</code> and <code>ignoreErrorForPath</code>
are now deprecated aliases of <code>suppressLintsFor</code></li>
<li>Spotless is still a formatter not a linter, it just models
formatting failures as lints rather than stopping execution (resolves <a
href="https://redirect.github.com/diffplug/spotless/issues/287">#287</a>)</li>
</ul>
</li>
</ul>
<h3>Fixed</h3>
<ul>
<li><code>ktlint</code> steps now read from the <code>string</code>
instead of the <code>file</code> so they don't clobber earlier steps.
(fixes <a
href="https://redirect.github.com/diffplug/spotless/issues/1599">#1599</a>)</li>
</ul>
<h2>Gradle Plugin v7.0.0.BETA3</h2>
<h3>Added</h3>
<h3>Changed</h3>
<ul>
<li>Use the Gradle user home directory by default for the download
directory for the biome executable. Previously, the
plugin tried to use Maven's home directory, which is not always
accessible by a Gradle plugin. (<a
href="https://redirect.github.com/diffplug/spotless/issues/2187">#2187</a>)</li>
<li>Add explicit support for CSS via biome. Formatting CSS via biome was
already supported as a general
formatting step. Biome supports formatting CSS as of 1.8.0
(experimental, opt-in) and 1.9.0 (stable).
(<a
href="https://redirect.github.com/diffplug/spotless/pull/2259">#2259</a>)</li>
</ul>
<h3>Changed</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/diffplug/spotless/blob/main/CHANGES.md">com.diffplug.spotless:spotless-plugin-gradle's
changelog</a>.</em></p>
<blockquote>
<h1>spotless-lib and spotless-lib-extra releases</h1>
<p>If you are a Spotless user (as opposed to developer), then you are
probably looking for:</p>
<ul>
<li><a
href="https://github.com/diffplug/spotless/blob/main/plugin-gradle/CHANGES.md">https://github.com/diffplug/spotless/blob/main/plugin-gradle/CHANGES.md</a></li>
<li><a
href="https://github.com/diffplug/spotless/blob/main/plugin-maven/CHANGES.md">https://github.com/diffplug/spotless/blob/main/plugin-maven/CHANGES.md</a></li>
</ul>
<p>This document is intended for Spotless developers.</p>
<p>We adhere to the <a
href="https://keepachangelog.com/en/1.0.0/">keepachangelog</a> format
(starting after version <code>1.27.0</code>).</p>
<h2>[Unreleased]</h2>
<h2>[3.0.2] - 2025-01-14</h2>
<h3>Fixed</h3>
<ul>
<li>Node.JS-based tasks now work with the configuration cache (<a
href="https://redirect.github.com/diffplug/spotless/issues/2372">#2372</a>)</li>
<li>Eclipse-based tasks can now handle parallel configuration (<a
href="https://redirect.github.com/diffplug/spotless/issues/2389">#2389</a>)</li>
</ul>
<h2>[3.0.1] - 2025-01-07</h2>
<h3>Fixed</h3>
<ul>
<li>Deployment was missing part of the CDT formatter, now fixed. (<a
href="https://redirect.github.com/diffplug/spotless/issues/2384">#2384</a>)</li>
</ul>
<h2>[3.0.0] - 2025-01-06</h2>
<h2>Headline changes</h2>
<ul>
<li>All steps now support roundtrip serialization (end of <a
href="https://redirect.github.com/diffplug/spotless/issues/987">#987</a>).</li>
<li>Spotless now supports <a
href="https://github.com/diffplug/spotless/blob/main/CONTRIBUTING.md#lints">linting</a>
in addition to formatting.</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Allow setting Eclipse config from a string, not only from files (<a
href="https://redirect.github.com/diffplug/spotless/pull/2337">#2337</a>)</li>
<li>Bump default <code>ktlint</code> version to latest
<code>1.3.0</code> -&gt; <code>1.4.0</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2314">#2314</a>)</li>
<li>Add <em>Sort Members</em> feature based on <a
href="https://github.com/diffplug/spotless/blob/main/plugin-gradle/README.md#eclipse-jdt">Eclipse
JDT</a> implementation. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2312">#2312</a>)</li>
<li>Bump default <code>jackson</code> version to latest
<code>2.18.0</code> -&gt; <code>2.18.1</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2319">#2319</a>)</li>
<li>Bump default <code>ktfmt</code> version to latest <code>0.52</code>
-&gt; <code>0.53</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2320">#2320</a>)</li>
<li>Bump default <code>ktlint</code> version to latest
<code>1.4.0</code> -&gt; <code>1.5.0</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2354">#2354</a>)</li>
<li>Bump minimum <code>eclipse-cdt</code> version to <code>11.0</code>
(removed support for <code>10.7</code>). (<a
href="https://redirect.github.com/diffplug/spotless/pull/2373">#2373</a>)</li>
<li>Bump default <code>eclipse</code> version to latest
<code>4.32</code> -&gt; <code>4.34</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2381">#2381</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>You can now use <code>removeUnusedImports</code> and
<code>googleJavaFormat</code> at the same time again. (fixes <a
href="https://redirect.github.com/diffplug/spotless/issues/2159">#2159</a>)</li>
<li>The default list of type annotations used by
<code>formatAnnotations</code> now includes Jakarta Validation's
<code>Valid</code> and constraints validations (fixes <a
href="https://redirect.github.com/diffplug/spotless/issues/2334">#2334</a>)</li>
</ul>
<h2>[3.0.0.BETA4] - 2024-10-24</h2>
<h3>Added</h3>
<ul>
<li>APIs to support linting. (implemented in <a
href="https://redirect.github.com/diffplug/spotless/pull/2148">#2148</a>,
<a
href="https://redirect.github.com/diffplug/spotless/pull/2149">#2149</a>,
<a
href="https://redirect.github.com/diffplug/spotless/pull/2307">#2307</a>)
<ul>
<li>Spotless is still primarily a formatter, not a linter. But when
formatting fails, it's more flexible to model those failures as lints so
that the formatting can continue and ideally we can also capture the
line numbers causing the failure.</li>
<li><code>Lint</code> models a single change. A
<code>FormatterStep</code> can create a lint by:
<ul>
<li>throwing an exception during formatting, ideally <code>throw
Lint.atLine(127, &quot;code&quot;, &quot;Well what happened
was...&quot;)</code></li>
<li>or by implementing the <code>List&lt;Lint&gt; lint(String content,
File file)</code> method to create multiple of them</li>
</ul>
</li>
</ul>
</li>
<li>Support for line ending policy <code>PRESERVE</code> which just
takes the first line ending of every given file as setting (no matter if
<code>\n</code>, <code>\r\n</code> or <code>\r</code>) (<a
href="https://redirect.github.com/diffplug/spotless/pull/2304">#2304</a>)</li>
</ul>
<h3>Changed</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/diffplug/spotless/commit/20e2f5a218a216abe108889fb1a75621b92eecc1"><code>20e2f5a</code></a>
Published gradle/7.0.2</li>
<li><a
href="https://github.com/diffplug/spotless/commit/37c85b8b76de434625e70b4ac194f9483c35d572"><code>37c85b8</code></a>
Published lib/3.0.2</li>
<li><a
href="https://github.com/diffplug/spotless/commit/b8b4efcd5f5c80f80d489ed46ab7e05a6839deda"><code>b8b4efc</code></a>
Fix eclipse-based parallel downloads (<a
href="https://redirect.github.com/diffplug/spotless/issues/2396">#2396</a>
fixes <a
href="https://redirect.github.com/diffplug/spotless/issues/2389">#2389</a>)</li>
<li><a
href="https://github.com/diffplug/spotless/commit/b401228e2bb7286f03eed7509f6ef358982018a8"><code>b401228</code></a>
Update changelogs.</li>
<li><a
href="https://github.com/diffplug/spotless/commit/3727dfae92d22b806b4525622061b012b34a8151"><code>3727dfa</code></a>
Fix deprecations in the Spotless build.</li>
<li><a
href="https://github.com/diffplug/spotless/commit/77c480e8844ceb44e8801ffff67553b4adb161f5"><code>77c480e</code></a>
Bump equo versions to latest, which fixes parallel downloads.</li>
<li><a
href="https://github.com/diffplug/spotless/commit/b50fcaff5367543bbdd96ac6bc8321c077bb9b78"><code>b50fcaf</code></a>
fix: workaround for NPM configuration cache (<a
href="https://redirect.github.com/diffplug/spotless/issues/2390">#2390</a>
fixes <a
href="https://redirect.github.com/diffplug/spotless/issues/2372">#2372</a>)</li>
<li><a
href="https://github.com/diffplug/spotless/commit/f77aeadc249d0f1b7b87249c169bfb9b2d44bbb1"><code>f77aead</code></a>
Update plugin com.github.spotbugs to v6.1.0 (<a
href="https://redirect.github.com/diffplug/spotless/issues/2393">#2393</a>)</li>
<li><a
href="https://github.com/diffplug/spotless/commit/4c9e39a10b388286684f849db45a455232f74362"><code>4c9e39a</code></a>
Update plugin com.github.spotbugs to v6.1.0</li>
<li><a
href="https://github.com/diffplug/spotless/commit/feaac904e8e01015c8aa267a9a049e94f9650470"><code>feaac90</code></a>
Make sure we use a recent version of <code>gradleRunner</code></li>
<li>Additional commits viewable in <a
href="https://github.com/diffplug/spotless/compare/gradle/6.25.0...gradle/7.0.2">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=6.25.0&new-version=7.0.2)](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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@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>
  • Loading branch information
Sgitario authored Jan 15, 2025
2 parents 81cd830 + a3b1dd0 commit 827de29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ext {
// buildSrc/build.gradle adds them to the gradle classpath
ext.plugins = [
"com.adarshr:gradle-test-logger-plugin:4.0.0",
"com.diffplug.spotless:spotless-plugin-gradle:6.25.0",
"com.diffplug.spotless:spotless-plugin-gradle:7.0.2",
"com.netflix.nebula:nebula-release-plugin:19.0.10",
"io.quarkus:gradle-application-plugin:${quarkusVersion}",
// swagger-parser manually upgraded for compatibility with snakeyaml 2.0
Expand Down

0 comments on commit 827de29

Please sign in to comment.