diff --git a/gradle/build.versions.toml b/gradle/build.versions.toml
index 185531d163674..2b9c626509120 100644
--- a/gradle/build.versions.toml
+++ b/gradle/build.versions.toml
@@ -38,6 +38,6 @@ shadow-plugin = "com.gradleup.shadow:shadow-gradle-plugin:8.3.5"
spock-core = { group = "org.spockframework", name="spock-core", version.ref="spock" }
spock-junit4 = { group = "org.spockframework", name="spock-junit4", version.ref="spock" }
spock-platform = { group = "org.spockframework", name="spock-bom", version.ref="spock" }
-spotless-plugin = "com.diffplug.spotless:spotless-plugin-gradle:6.25.0"
+spotless-plugin = "com.diffplug.spotless:spotless-plugin-gradle:7.0.2"
wiremock = "com.github.tomakehurst:wiremock-jre8-standalone:2.23.2"
xmlunit-core = "org.xmlunit:xmlunit-core:2.8.2"
diff --git a/gradle/verification-metadata.xml b/gradle/verification-metadata.xml
index 7fe2a46ab83d4..842387212efcb 100644
--- a/gradle/verification-metadata.xml
+++ b/gradle/verification-metadata.xml
@@ -169,54 +169,29 @@
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
@@ -739,6 +714,11 @@
+
+
+
+
+
@@ -1349,6 +1329,11 @@
+
+
+
+
+
@@ -1469,14 +1454,9 @@
-
-
-
-
-
-
-
-
+
+
+
@@ -2002,6 +1982,11 @@
+
+
+
+
+
@@ -2535,9 +2520,9 @@
-
-
-
+
+
+
@@ -3626,19 +3611,14 @@
-
-
-
-
-
-
-
-
+
+
+
-
-
-
+
+
+
@@ -3741,139 +3721,74 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
@@ -3881,24 +3796,14 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
-
-
+
+
+
diff --git a/x-pack/plugin/deprecation/qa/rest/src/javaRestTest/java/org/elasticsearch/xpack/deprecation/DeprecationHttpIT.java b/x-pack/plugin/deprecation/qa/rest/src/javaRestTest/java/org/elasticsearch/xpack/deprecation/DeprecationHttpIT.java
index 2ddcb37ce7f83..e8dbb25e65ca0 100644
--- a/x-pack/plugin/deprecation/qa/rest/src/javaRestTest/java/org/elasticsearch/xpack/deprecation/DeprecationHttpIT.java
+++ b/x-pack/plugin/deprecation/qa/rest/src/javaRestTest/java/org/elasticsearch/xpack/deprecation/DeprecationHttpIT.java
@@ -141,7 +141,6 @@ public void testDeprecatedSettingsReturnWarnings() throws Exception {
.endObject();
final Request request = new Request("PUT", "_cluster/settings");
- ///
request.setJsonEntity(Strings.toString(builder));
final Response response = client().performRequest(request);