You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've had this at the back of my mind for a while and I do think it would be useful, but I've never done anything about it as it's not as straightforward as it first appears to be. A few things that we'd have to keep in mind:
Adding a dependency to the checkstyle configuration replaces the default dependency on com.puppycrawl.tools:checkstyle. We'd probably need to add it back again and consider the checkstyle.toolVersion property when doing so
Some users may want this plugin's formatting but not want its Checkstyle integration. They'd need a way to disable the automatic configuration of Checkstyle. A property, configured in gradle.properties, would be the easiest. A DSL would be nicer but this is complicated as it requires the dependency to be added lazily once the user's had a chance to configure things using the DSL
Can we somehow configure things so that our pre-canned checkstyle.xml is used by default?
It would be nice if
io.spring.javaformat
gradle plugin add dependencyio.spring.javaformat:spring-javaformat-checkstyle
to checkstyle configuration.Given:
Then:
should be optional.
The text was updated successfully, but these errors were encountered: