Skip to content

Commit 42ae4cf

Browse files
committed
Merge pull request #20806 from mikesmithson
* pr/20806: Polish "Add instruction to format code in buildSrc" Add instruction to format code in buildSrc Closes gh-20806
2 parents 85a3fcf + 06ce3e0 commit 42ae4cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CONTRIBUTING.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ added after the original pull request but before a merge.
5252
automatically. You can also install the
5353
https://github.com/spring-io/spring-javaformat/#intellij-idea[Spring JavaFormat IntelliJ
5454
Plugin] or format the code from the Gradle build by running
55-
`./gradlew format`.
55+
`./gradlew format`. Note that if you have format violations in `buildSrc`, you can fix
56+
them by running `./gradlew -p buildSrc format` from the project root directory.
5657
* The build includes checkstyle rules for many of our code conventions. Run
5758
`./gradlew checkstyleMain checkstyleTest` if you want to check you changes are
5859
compliant.

0 commit comments

Comments
 (0)