ktlint-intellij-plugin
ktlint-intellij-plugin copied to clipboard
Add support for Gradle version catalog to determine ktlint version
Would love to be able to programmatically set our ktlint
version based on a value in our dependencies.toml
file (version catalog)
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 😁
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.
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.