Versions are defined in build.gradle.kts
.
intellij.version
is used for -
tasks.patchPluginXml.sinceBuild
is used for -
ktfmt/ktfmt_idea_plugin $ ./gradlew runIde
Point intellij.alternativeIdePath
in build.gradle.kts
to a local installation of IntelliJ / Android Studio to test the plugin with it. Don't forget to enable the plugin. Easiest way: Cmd-shift-A, type 'ktfmt', look for Preferences.
Another way: change intellij.version
and comment out alternativeIdePath
. This will run the plugin on whatever version you put - it'll be downloaded through Gradle.