ktlint-intellij-plugin icon indicating copy to clipboard operation
ktlint-intellij-plugin copied to clipboard

Add support for Gradle version catalog to determine ktlint version

Open ZakTaccardi opened this issue 1 year ago • 2 comments

Would love to be able to programmatically set our ktlint version based on a value in our dependencies.toml file (version catalog)

ZakTaccardi avatar Mar 03 '23 00:03 ZakTaccardi

This seems to be the same idea as #35, but maybe specifically adding support for Gradle's version catalog so I'll keep this open as a feature request, but @ZakTaccardi you'll probably want to follow along with #35 first 😁

nbadal avatar Mar 14 '23 22:03 nbadal

Next version (0.22.x) of plugin supports ktlint versions 0.50.0, 1.0.1, 1.1.1 and 1.2.1. Automatic detection and setting of ktlint version based on dependencies.toml will not be supported for now.

paul-dingemans avatar Mar 19 '24 14:03 paul-dingemans

Closing. Configuration of the plugin should not be mixed with configuration of other build tools. It would also introduce complexity in case the plugin would not be used with a Gradle build.

paul-dingemans avatar Jul 09 '24 10:07 paul-dingemans