Closed
Description
Hi,
I just noticed that running ./gradlew format
doesn't work, when there are errors that it should correct.
E.g. in https://ci.spring.io/builds/105422 I did a small mistake and needed to correct it, but got the following when actually trying to execute format
:
* What went wrong:
Execution failed for task ':buildSrc:checkFormatMain'.
> Formatting violations found in the following files:
* src/main/java/org/springframework/boot/build/log4j2/ReproducibleLog4j2PluginsDatAction.java
Run `format` to fix.
That seems to be only the case for code located in buildSrc
. I wonder if this is something for the spring-javaformat project or if it can be worked around in Boot.
Cheers,
Christoph