mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
Add instruction to format code in buildSrc
See gh-20806
This commit is contained in:
parent
85a3fcfb5e
commit
942e3dd132
@ -53,6 +53,8 @@ added after the original pull request but before a merge.
|
|||||||
https://github.com/spring-io/spring-javaformat/#intellij-idea[Spring JavaFormat IntelliJ
|
https://github.com/spring-io/spring-javaformat/#intellij-idea[Spring JavaFormat IntelliJ
|
||||||
Plugin] or format the code from the Gradle build by running
|
Plugin] or format the code from the Gradle build by running
|
||||||
`./gradlew format`.
|
`./gradlew format`.
|
||||||
|
* If you want to format the buildSrc module, you can format the code
|
||||||
|
by running `./gradlew -p buildSrc format` from the project root directory.
|
||||||
* The build includes checkstyle rules for many of our code conventions. Run
|
* The build includes checkstyle rules for many of our code conventions. Run
|
||||||
`./gradlew checkstyleMain checkstyleTest` if you want to check you changes are
|
`./gradlew checkstyleMain checkstyleTest` if you want to check you changes are
|
||||||
compliant.
|
compliant.
|
||||||
|
Loading…
Reference in New Issue
Block a user