This version of ktfmt-gradle adds support for formatting Kotlin 1.4.x source code (thanks to ktfmt 0.19).
Please note that in order to format Kotlin 1.4.x source code you need to run Gradle 6.8 or above.
Added
- Added the
googleStyle()function to thektfmt{}extension to configure indents at2.
Dependencies Update
- Ktfmt to 0.19
- Kotlin to 1.4.21
- kotlinx-coroutines to 1.4.2