JLLeitschuh / ktlint-gradle

A ktlint gradle plugin
MIT License
1.48k stars 163 forks source link

unknown ktlint version #760

Closed david-claimer closed 7 months ago

david-claimer commented 7 months ago

How do I know which version of ktlint the plugin is using? I want to use whatever the default is for the version of the plugin I use (currently 12.1.0) but I can't find anything in docs or code.

wakingrufus commented 7 months ago

The default is set in the extension: https://github.com/JLLeitschuh/ktlint-gradle/blob/main/plugin%2Fsrc%2Fmain%2Fkotlin%2Forg%2Fjlleitschuh%2Fgradle%2Fktlint%2FKtlintExtension.kt#L39

david-claimer commented 7 months ago

perfect thanks.