ktfmt-gradle v0.6.0 Release Notes

Release Date: 2021-05-20 // 7 months ago
    • --include-only now works with paths that are file-separator independent.
    • ➕ Added support for Gradle 7.0+
    • ➕ Added task ordering between ktfmt* tasks and compileKotlin tasks. This fix the correctness warning introduced with Gradle 7.0

    ⚡️ Dependencies Update

    • Gradle to 7.0.2
    • KtFmt to 0.24

Previous changes from v0.5.0

  • 🆕 New features

    • ➕ 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

    ⚡️ Dependencies Update

    • KtFmt to 0.22
    • Coroutines to 1.4.3
    • AGP to 4.1.3
    • Gradle to 6.8.3