Add more info about gradle tasks

This commit is contained in:
Artem Tsebrov 2023-04-06 17:22:34 +03:00
parent 8ff9c2ca45
commit 03195c9be2
1 changed files with 4 additions and 4 deletions

View File

@ -20,15 +20,15 @@
}
```
## Existing tasks
Detekt:
## Project Gradle tasks
### Detekt:
- `gradle $project:detekt` - detect not formatted, complex code.
Reports are stored in "$pwd/build/reports/kotlin-detekt-${project.name}.html".
DiKTat:
### DiKTat:
- `gradle :diktatCheck` - detect not formatted code of "kt", "kts" files;
- `gradle :diktatFix` - if possible, fix not formatted code.
- `gradle :diktatFix` - if possible, fix not formatted code. Known issues: full fix may require 1+ launch in order to apply all rules; some rules potentially may break code syntax.
Reports are stored in "$pwd/build/reports/diktat-check-report.html".