Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 1012 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 1012 Bytes

Chat on Telegram Awesome Kotlin Badge ktlint Releases

diktat-examples

Several examples of usage for diKTat project: https://github.com/cqfn/diKTat

What's inside:

  1. maven: example of usage diktat with maven plugin (see pom.xml). To run it use: $ mvn antrun:run@diktat.
  2. gradle: example of usge diktat with gradle plugin (see build.gradle.kts). To run it use: $ gradle diktatCheck

Configuration file:

Note, that you can specify and put diktat-analysis.yml that contains configuration of diktat in the parent directory of your project on the same level where build.gradle/pom.xml is stored.