Browse Source

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
pull/21130/head
Stephane Nicoll 6 years ago
parent
commit
42ae4cfdd9
  1. 3
      CONTRIBUTING.adoc

3
CONTRIBUTING.adoc

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

Loading…
Cancel
Save