diff --git a/pom.xml b/pom.xml
index 7122a85a6c..124b95eecf 100644
--- a/pom.xml
+++ b/pom.xml
@@ -124,6 +124,49 @@
+
+
+ com.diffplug.spotless
+ spotless-maven-plugin
+ 2.40.0
+
+
+
+ check
+
+
+
+
+
+
+
+ *.md
+ .gitignore
+
+
+
+
+ true
+ 4
+
+
+
+
+
+ src/test/java/com/google/gson/functional/Java17RecordTest.java
+ src/test/java/com/google/gson/native_test/Java17RecordReflectionTest.java
+
+
+
+ true
+ true
+
+
+
+ .
+
+
+