We use checkstyle
with Google java Style to
lint our code. Code lint is not compulsory before your commit or pull request, but it is highly recommended. You could
run ./gradlew checkstyle
to check the code style.
We add hook pre-commit to run ./graldew build
before each commit to make sure code won't be broken. It takes a bit time and please be patient.
We follow these steps as release flow
- Label each PR according to branch name by GitHub Actions. If it does not work as expected, please create an issue for it.
- Add and push tag to main branch (
develop
). Once a new tag is detected, GitHub Actions will generate a release draft (thanks torelease-drafter
action`, and upload artifacts to Maven Central Repository. - Manually update CHANGELOG.md, publish release to GitHub and publish artifacts in Maven Central Repository.