From d58e2c93825a3a589d74ead0ce19d976b1065b5e Mon Sep 17 00:00:00 2001 From: Maicol <79454487+MaicolAntali@users.noreply.github.com> Date: Mon, 13 Nov 2023 17:27:44 +0100 Subject: [PATCH] Add `spotless` plugin (#2537) * Adds the `spotless` plugin * Excludes `Java17` files Excludes: - Java17RecordTest.java - Java17RecordReflectionTest.java * Fixes formatting in `pom.xml` --- pom.xml | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) 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 + + + + . + + +