Skip to content

Commit b194ad3

Browse files
Bump spotless from 7.2.1 to 8.0.0 (#468)
Bumps `spotless` from 7.2.1 to 8.0.0. Updates `com.diffplug.spotless:spotless-plugin-gradle` from 7.2.1 to 8.0.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.0.0</h2> <h3>Changed</h3> <ul> <li><strong>BREAKING</strong> Bump the required Gradle to <code>7.3</code> and required Java to <code>17</code>. (<a href="https://redirect.github.com/diffplug/spotless/issues/2375">#2375</a>, <a href="https://redirect.github.com/diffplug/spotless/pull/2540">#2540</a>)</li> <li><strong>BREAKING</strong> Renamed <code>removeWildcardImports</code> to <code>forbidWildcardImports</code>. (<a href="https://redirect.github.com/diffplug/spotless/pull/2633">#2633</a>)</li> <li><strong>BREAKING</strong> <code>spotlessInstallGitPrePushHook</code> task is now installed only on the root project. (<a href="https://redirect.github.com/diffplug/spotless/pull/2570">#2570</a>)</li> <li><strong>BREAKING</strong> <code>LintSuppression</code> now enforces unix-style paths in its <code>setPath</code> method. (<a href="https://redirect.github.com/diffplug/spotless/pull/2629">#2629</a>)</li> <li>Running <code>spotlessCheck</code> with violations unilaterally produces the error message <code>Run './gradlew spotlessApply' to fix these violations</code>. (<a href="https://redirect.github.com/diffplug/spotless/issues/2592">#2592</a>)</li> <li>Bump JGit from <code>6.10.1</code> to <code>7.3.0</code> (<a href="https://redirect.github.com/diffplug/spotless/pull/2257">#2257</a>) <ul> <li>Adds support for worktrees (fixes <a href="https://redirect.github.com/diffplug/spotless/issues/1765">#1765</a>)</li> </ul> </li> <li>Bump default <code>google-java-format</code> version to latest <code>1.24.0</code> -&gt; <code>1.28.0</code>. (<a href="https://redirect.github.com/diffplug/spotless/pull/2345">#2345</a>)</li> <li>Bump default <code>gson</code> version to latest <code>2.13.1</code> -&gt; <code>2.13.2</code>. (<a href="https://redirect.github.com/diffplug/spotless/pull/2615">#2615</a>)</li> <li>Bump default <code>jackson</code> version to latest <code>2.19.2</code> -&gt; <code>2.20.0</code>. (<a href="https://redirect.github.com/diffplug/spotless/pull/2606">#2606</a>)</li> <li>Bump default <code>ktfmt</code> version to latest <code>0.53</code> -&gt; <code>0.58</code> (<a href="https://redirect.github.com/diffplug/spotless/pull/2613">#2613</a>) <ul> <li><strong>BREAKING</strong> use <code>TrailingCommaManagementStrategy</code> enum instead of <code>manageTrailingCommas</code> boolean configuration option</li> </ul> </li> <li>Bump default <code>ktlint</code> version to latest <code>1.5.0</code> -&gt; <code>1.7.1</code>. (<a href="https://redirect.github.com/diffplug/spotless/pull/2555">#2555</a>)</li> <li>Bump default <code>palantir-java-format</code> version to latest <code>2.57.0</code> -&gt; <code>2.71.0</code>.</li> </ul> <h3>Fixed</h3> <ul> <li>Respect system gitconfig when performing git operations (<a href="https://redirect.github.com/diffplug/spotless/issues/2404">#2404</a>)</li> <li>Fix <code>spaceBeforeSeparator</code> in Jackson formatter. (<a href="https://redirect.github.com/diffplug/spotless/pull/2103">#2103</a>)</li> <li><code>spotlessInstallGitPrePushHook</code> is now compatible with configuration cache. (<a href="https://redirect.github.com/diffplug/spotless/pull/2570">#2570</a>)</li> </ul> <h3>Added</h3> <ul> <li>There is now a <code>forbidRegex(String name, String regex, String lintDetail)</code> which throws a lint anytime the regex matches. (<a href="https://redirect.github.com/diffplug/spotless/pull/2633">#2633</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/diffplug/spotless/commit/0761a23782c97b4c425f8f8b5e79f20811f54541"><code>0761a23</code></a> Published gradle/8.0.0</li> <li><a href="https://github.com/diffplug/spotless/commit/3373a6bf4ddfc12f1df566b1c1780e99ec2d8bb8"><code>3373a6b</code></a> Published lib/4.0.0</li> <li><a href="https://github.com/diffplug/spotless/commit/433a1d9c92e5e5566e72faf162c9d9833538d710"><code>433a1d9</code></a> Try to fix publishing.</li> <li><a href="https://github.com/diffplug/spotless/commit/12d83710e3dc0df893910f543293d353cc7b6c01"><code>12d8371</code></a> [openrewrite] initial merge and <code>UpgradeToJava17</code> (<a href="https://redirect.github.com/diffplug/spotless/issues/2636">#2636</a> towards <a href="https://redirect.github.com/diffplug/spotless/issues/2634">#2634</a>)</li> <li><a href="https://github.com/diffplug/spotless/commit/37d293da2545f07a3b8cd0d69a812e2a04cdc5d1"><code>37d293d</code></a> Take away the custom name for the <code>sanityCheck</code> CI job.</li> <li><a href="https://github.com/diffplug/spotless/commit/2ab1d2fe69d38e24f3226bbd24721c864ca0cb5a"><code>2ab1d2f</code></a> Fix some long-standing Gradle deprecations.</li> <li><a href="https://github.com/diffplug/spotless/commit/009c5da700c805857ca86de0e3980ce4ff8b5c11"><code>009c5da</code></a> Rename <code>removeWildcardImports</code> to <code>forbidWildcardImports</code>, etc. (<a href="https://redirect.github.com/diffplug/spotless/issues/2633">#2633</a>)</li> <li><a href="https://github.com/diffplug/spotless/commit/1f4fb93cc671bb2c39dcca1d9502174dc3fbc621"><code>1f4fb93</code></a> Issue <a href="https://redirect.github.com/diffplug/spotless/issues/2634">#2634</a>: Add <code>UpgradeToJava17</code></li> <li><a href="https://github.com/diffplug/spotless/commit/d8d496abe3c5565642b45c998f6aeedd90204fde"><code>d8d496a</code></a> Fix a test.</li> <li><a href="https://github.com/diffplug/spotless/commit/c1a2fe5d6629f8fd92a984d16188c68752bfbd32"><code>c1a2fe5</code></a> Fix unfinished parts of the rename.</li> <li>Additional commits viewable in <a href="https://github.com/diffplug/spotless/compare/gradle/7.2.1...gradle/8.0.0">compare view</a></li> </ul> </details> <br /> Updates `com.diffplug.spotless` from 7.2.1 to 8.0.0 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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 006fee3 commit b194ad3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ okhttp = "5.1.0"
1212
okio = "3.16.0"
1313
protobuf = "4.32.1"
1414
slf4j = "2.0.17"
15-
spotless = "7.2.1"
15+
spotless = "8.0.0"
1616

1717
[libraries]
1818
android = { module = "com.google.android:android", version.ref = "android" }

0 commit comments

Comments
 (0)