mirror of
https://github.com/affaan-m/ECC.git
synced 2026-09-08 07:37:48 +02:00
19 lines
467 B
Markdown
19 lines
467 B
Markdown
---
|
|||
|
|
paths:
|
||
|
|
- "**/*.java"
|
||
|
|
- "**/pom.xml"
|
||
|
|
- "**/build.gradle"
|
||
|
|
- "**/build.gradle.kts"
|
||
|
|
---
|
||
|
|
# Java Hooks
|
||
|
|
|
||
|
|
> This file extends [common/hooks.md](../common/hooks.md) with Java-specific content.
|
||
|
|
|
||
|
|
## PostToolUse Hooks
|
||
|
|
|
||
|
|
Configure in `~/.claude/settings.json`:
|
||
|
|
|
||
|
|
- **google-java-format**: Auto-format `.java` files after edit
|
||
|
|
- **checkstyle**: Run style checks after editing Java files
|
||
|
|
- **./mvnw compile** or **./gradlew compileJava**: Verify compilation after changes
|