Contributing
Prerequisites
- Java 21 (see
.java-version) - Lefthook for local git hooks
One-time setup
Install Lefthook and register the git hooks:
bash
# macOS
brew install lefthook
# Other platforms: https://github.com/evilmartians/lefthook#installationbash
lefthook installThis installs a pre-push hook that runs :bpmn-to-code-core:jacocoTestCoverageVerification — the same check enforced in CI.
Common Commands
bash
./gradlew build # full build
./gradlew :bpmn-to-code-core:test # run core tests only
./gradlew :bpmn-to-code-core:jacocoTestCoverageVerification # check coverage manuallySkipping hooks
bash
git push --no-verify # bypasses lefthook; CI still enforces