0

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?

Kaleab Woldemariam
  • 2,567
  • 4
  • 22
  • 43

1 Answers1

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