This repo is a shim that adds gradle support to Yelps pre-commit.
gradle-check
-- run./gradlew check
Install pre-commit according to the website (https://pre-commit.com/#install).
Create .pre-commit-config.yaml
in your project root with the following content:
# .pre-commit-config.yaml
exclude: '^$'
fail_fast: false
repos:
- repo: https://github.com/neuhalje/pre-commit-gradle.git
rev: v0.0.1
hooks:
- id: gradle-check
Now enable pre-commit via pre-commit install
.
Made with