1# How to contribute
2
3We'd love to accept your patches and contributions to this project. There are
4just a few small guidelines you need to follow.
5
6## Contributor License Agreement
7
8Contributions to any Google project must be accompanied by a Contributor License
9Agreement. This is necessary because you own the copyright to your changes, even
10after your contribution becomes part of this project. So this agreement simply
11gives us permission to use and redistribute your contributions as part of the
12project. Head over to <https://cla.developers.google.com/> to see your current
13agreements on file or to sign a new one.
14
15You generally only need to submit a CLA once, so if you've already submitted one
16(even if it was for a different project), you probably don't need to do it
17again.
18
19## Code reviews
20
21All submissions, including submissions by project members, require review. We
22use GitHub pull requests for this purpose. Consult [GitHub Help] for more
23information on using pull requests.
24
25[GitHub Help]: https://help.github.com/articles/about-pull-requests/
26
27## Preparing a pull request for review
28
29Ensure your change is properly formatted by running:
30
31```console
32$ ./gradlew googleJavaFormat
33```
34
35Then verify that your change builds and passes tests with:
36
37```console
38$ ./gradlew --continue verifyGoogleJavaFormat build connectedCheck
39```
40
41Please correct any failures before requesting a review.
42