This file follows Keepachangelog format. Please add your entries according to this format.
- KtFmt to 0.53
- AGP to 8.7.1
- Gradle to 8.10.2
- Set 'manageTrailingCommas' to 'true' for kotlinLangStyle to align with ktfmt 0.52
- Add new regex property to exclude sourceSets from analysis (#328)
- Fix custom KtFmt tasks not compatible with configuration cache (#290)
- Fix custom source directories not correctly recognized (#292)
- Fix mixed up task descriptions (#342)
- KtFmt to 0.52
- AGP to 8.5.2
- Gradle to 8.9
- Remove dropboxStyle since it is no longer supported by ktfmt. Use kotlinLangStyle() instead
- Fix task caching for ktfmtCheckTask when project has multiple source sets (#289)
- Kotlin to 2.0.0
- KtFmt to 0.51
- AGP to 8.4.2
- Gradle to 8.8
- Make
KtfmtCheckTask
cacheable - Add support for
manageTrailingCommas
and enables it by default for googleStyle - Gradle to 8.7
- AGP to 8.3.2
- Kotlin to 1.9.23
- KTFMT to 0.47
- Kotlin to 1.9.22
- AGP to 8.2.2
- Adapt the plugin to work with KSP 1.9.21
- Remove legacy
kotlin-compiler-embeddable
dependency to prevent potential Kotlin version conflicts - Fix bug with Gradle Configuration Cache by always creating working dir if it's not existing
- Kotlin to 1.9.21
- AGP to 8.2.0
- Gradle to 8.5
- Kotlin version reverted to 1.9.10
- Replace class loader isolation with process isolation (#206)
- Do not create tasks for aot srcset on Spring projects (#204)
- Kotlin to 1.9.20
- Add support for Gradle Worker API and Classloader Isolation (#182)
- KtFmt to 0.46
- Kotlin to 1.9.10
- Gradle to 8.4
- AGP to 8.1.2
- Handle implicit dependency error message for KMP project (#171)
- Make sure files in the
build/
folder are skipped (#170) - Fix incompatibility with KSP (#167)
- The Plugin is now GPG signed (#166)
- KtFmt to 0.44
- Kotlin to 1.9.0
- Gradle to 8.2.1
- AGP to 8.0.2
- KtFmt to 0.43
- Kotlin to 1.8.10
- Gradle to 8.0.1
- AGP to 7.4.1
- Fix bug with KMP tasks clashing with Android Tasks (#130)
- KtFmt to 0.41
- AGP to 7.3.0
- Add support for Gradle Configuration Cache
- KtFmt to 0.40
- KtFmt to 0.39
- Gradle to 7.5.1
- Kotlin to 1.7.10
- AGP to 7.2.2
- Kotlinx Coroutines to 1.6.1
- Moved to Version Catalog
- 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