This file follows Keepachangelog format. Please add your entries according to this format.
- Move to Version Catalog
- KtFmt to 0.39
- Gradle to 7.5.1
- Kotlin to 1.7.10
- AGP to 7.1.3
- Kotlinx Coroutines to 1.6.1
- Set Kotlin jvmTarget to 11
- KtFmt to 0.32
- Kotlin to 1.5.31
- Gradle to 7.4
- KtFmt to 0.28
- Gradle to 7.2
- Kotlin to 1.5.21
- Android Gradle Plugin to 4.2.2
- Android Ktfmt Tasks will not have
JavaSource
as postfix anymore - Tasks should fallback to extension value before defaults
--include-only
now works with paths that are file-separator independent.- Added support for Gradle 7.0+
- Added task ordering between
ktfmt*
tasks andcompileKotlin
tasks. This fix the correctness warning introduced with Gradle 7.0
- Gradle to
7.0.2
- KtFmt to
0.24
- Added
--include-only
flag to support pre-commit hooks - Improved error reporting for scenarios where KtFmt fail to parse
- Added example on how to apply the plugin to the
buildSrc
project
- KtFmt to
0.22
- Coroutines to
1.4.3
- AGP to
4.1.3
- Gradle to
6.8.3
- Added the
kotlinLangStyle()
function to thektfmt{}
extension. This will allow you to apply a format that attempts to reflect the official kotlin convetions.
- Ktfmt to 0.21
- Ktfmt to 0.20
- Gradle to 6.8.2
- AGP to 4.1.2
- Added the
googleStyle()
function to thektfmt{}
extension to configure indents at2
.
- Ktfmt to 0.19
- Kotlin to 1.4.21
- kotlinx-coroutines to 1.4.2
That's the first version of ktfmt-gradle