diff --git a/pom.xml b/pom.xml
index b42a1562..1a1f1512 100644
--- a/pom.xml
+++ b/pom.xml
@@ -311,6 +311,11 @@ limitations under the License.
spring-javaformat-checkstyle
${spring-javaformat-checkstyle.version}
+
+ org.springframework.cloud
+ spring-cloud-build-tools
+ ${spring-cloud-build.version}
+
@@ -318,7 +323,8 @@ limitations under the License.
validate
true
- io/spring/javaformat/checkstyle/checkstyle.xml
+ checkstyle.xml
+ LICENSE.txt
true
false
diff --git a/spring-cloud-build-tools/pom.xml b/spring-cloud-build-tools/pom.xml
index bcef9db3..3c6b7cc5 100644
--- a/spring-cloud-build-tools/pom.xml
+++ b/spring-cloud-build-tools/pom.xml
@@ -17,7 +17,7 @@
com.puppycrawl.tools
checkstyle
- 7.6
+ ${checkstyle.version}
diff --git a/spring-cloud-build-tools/src/main/resources/checkstyle.xml b/spring-cloud-build-tools/src/main/resources/checkstyle.xml
index 79233ddb..40b79604 100644
--- a/spring-cloud-build-tools/src/main/resources/checkstyle.xml
+++ b/spring-cloud-build-tools/src/main/resources/checkstyle.xml
@@ -2,24 +2,180 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+