Skip to content

Commit d50e608

Browse files
Bump com.diffplug.spotless:spotless-plugin-gradle from 8.10.4 to 8.11.0 (#554)
Bumps [com.diffplug.spotless:spotless-plugin-gradle](https://github.com/diffplug/spotless) from 8.10.4 to 8.11.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.11.0</h2> <h3>Added</h3> <ul> <li>Add <code>cleanup(false)</code> to <code>googleJavaFormat()</code> to disable google-java-format's non-whitespace cleanups. (<a href="https://redirect.github.com/diffplug/spotless/pull/3157">#3157</a>)</li> <li>Add <code>maxLineLength(int)</code> to <code>googleJavaFormat()</code>. (<a href="https://redirect.github.com/diffplug/spotless/issues/3151">#3151</a>)<br /> Overrides the 100-column limit prescribed by the GOOGLE and AOSP styles; requires <code>google-java-format</code> <code>2.0.0</code> or later.</li> </ul> <h3>Changes</h3> <ul> <li>Bump default <code>google-java-format</code> version <code>1.36.1</code> -&gt; <code>2.0.0</code>. (<a href="https://redirect.github.com/diffplug/spotless/pull/3157">#3157</a>)<br /> This version applies some small non-whitespace cleanups by default (removing redundant semicolons, empty annotation parentheses, and parentheses around single lambda parameters), which can be disabled with <code>cleanup(false)</code>.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/diffplug/spotless/commit/8d2edae00c4c28b1af36ec021bf1c82435558421"><code>8d2edae</code></a> Published gradle/8.11.0</li> <li><a href="https://github.com/diffplug/spotless/commit/80977b444a3b35a16aa9dbaef3d41d32dae30805"><code>80977b4</code></a> Published lib/4.11.0</li> <li><a href="https://github.com/diffplug/spotless/commit/ed34276ce65ca4e6ec0313c03a736d3f7dc80cf9"><code>ed34276</code></a> Add maxLineLength option to googleJavaFormat step (requires gjf 2.0.0+) (<a href="https://redirect.github.com/diffplug/spotless/issues/3152">#3152</a>)</li> <li><a href="https://github.com/diffplug/spotless/commit/b2cd5015956ba58ba981247a6128e8e499b04af6"><code>b2cd501</code></a> docs: split maxLineLength changelog entries into subject and desc style</li> <li><a href="https://github.com/diffplug/spotless/commit/d1c06e220975db96ee8fcb53e08197324788464b"><code>d1c06e2</code></a> Update plugin-gradle/README.md</li> <li><a href="https://github.com/diffplug/spotless/commit/7fd0a54f53767cc97450e5737faf583c13b2be43"><code>7fd0a54</code></a> Update plugin-maven/README.md</li> <li><a href="https://github.com/diffplug/spotless/commit/abe4e9fd766076f43842c49b911e9304e09c3dda"><code>abe4e9f</code></a> Merge origin/main: combine cleanup option and gjf 2.0.0 bump with maxLineLength</li> <li><a href="https://github.com/diffplug/spotless/commit/5ec09c014fabb3d4a2b82c20e311405cfb5b7ac1"><code>5ec09c0</code></a> Bump google-java-format to 2.0.0 and add a cleanup option (<a href="https://redirect.github.com/diffplug/spotless/issues/3157">#3157</a>)</li> <li><a href="https://github.com/diffplug/spotless/commit/e8f21cb256c728365435aef71495ad7d6bd91e2a"><code>e8f21cb</code></a> Handle older google-java-format versions in GoogleJavaFormatStepTest</li> <li><a href="https://github.com/diffplug/spotless/commit/e6eab79386b218b61f8c99f669f6235abe39e6eb"><code>e6eab79</code></a> Apply batched suggestions from code review</li> <li>Additional commits viewable in <a href="https://github.com/diffplug/spotless/compare/gradle/8.10.4...gradle/8.11.0">compare view</a></li> </ul> </details> <br /> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Philip K. Warren <pkwarren@users.noreply.github.com>
1 parent 984ebe3 commit d50e608

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎gradle/libs.versions.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ maven-plugin = { module = "com.vanniktech:gradle-maven-publish-plugin", version.
2121
nullaway = { module = "com.uber.nullaway:nullaway", version = "0.14.3" }
2222
protobuf-java = { module = "com.google.protobuf:protobuf-java", version.ref = "protobuf" }
2323
re2j = { module = "com.google.re2j:re2j", version.ref = "re2j" }
24-
spotless = { module = "com.diffplug.spotless:spotless-plugin-gradle", version = "8.10.4" }
24+
spotless = { module = "com.diffplug.spotless:spotless-plugin-gradle", version = "8.11.0" }
2525

2626
[plugins]
2727
errorprone = { id = "net.ltgt.errorprone", version = "5.2.0" }

‎src/main/java/build/buf/protovalidate/CustomOverload.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ private static CelFunctionBinding celIsIpPrefixIntBool() {
289289
return CelFunctionBinding.from(
290290
"is_ip_prefix_int_bool",
291291
Arrays.asList(String.class, Long.class, Boolean.class),
292-
(args) -> isIpPrefix((String) args[0], (Long) args[1], (Boolean) args[2]));
292+
args -> isIpPrefix((String) args[0], (Long) args[1], (Boolean) args[2]));
293293
}
294294

295295
/**

‎src/main/java/build/buf/protovalidate/EnumRulesEvaluator.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ private EnumRulesEvaluator(
5656

5757
/**
5858
* Builds a {@link EnumRulesEvaluator} for the {@code const}/{@code in}/{@code not_in} rules on
59-
* the supplied {@code FieldRules.Builder}'s enum sub-message. Returns null when the enum sub-
60-
* message is unset, has unknown fields, or has none of the covered rules. The {@code
59+
* the supplied {@code FieldRules.Builder}'s enum sub-message. Returns null when the enum
60+
* sub-message is unset, has unknown fields, or has none of the covered rules. The {@code
6161
* defined_only} field is left untouched on the residual so the existing {@link
6262
* build.buf.protovalidate.EnumEvaluator} continues to handle it.
6363
*/

0 commit comments

Comments
 (0)