Add more info about gradle tasks
This commit is contained in:
parent
8ff9c2ca45
commit
03195c9be2
|
|
@ -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".
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue