My project files have different formatting of kotlin and I want to use ktfmtFormat gradle plugin on Android Studio on windows. What is a command-line script to apply the formatting to all kotlin files?
Asked
Active
Viewed 54 times
1 Answers
0
That is the correct task according to the docs, so from the command line it would be e.g. .\gradlew.bat :ktfmtFormat
. There is also a JVM-based standalone CLI.

James Groom
- 235
- 2
- 6