How do I add KtLint style to Android Studio using Gradle?
问题 I want to add the style ktlint uses to Android Studio so that when I apply formatting myself it uses the ktlint style. Based on the documentation, I installed the ktlint CLI brew install ktlint I then navigated to the root of my project and executed ktlint --android applyToIDEAProject The style now appears in my preferences for use. The issue is that the style applied through CLI uses what I think is the latest version of ktlint since my manual formatting is different from the formatting