It would be nice if io.spring.javaformat gradle plugin add dependency io.spring.javaformat:spring-javaformat-checkstyle to checkstyle configuration.
Given:
plugins {
	java
	checkstyle
	id("io.spring.javaformat").version("0.0.45")
}
Then:
dependencies {
	checkstyle("io.spring.javaformat:spring-javaformat-checkstyle:0.0.45")
}
should be optional.