Skip to content

v10.0.0

Compare
Choose a tag to compare
@Tapchicoma Tapchicoma released this 10 Feb 21:53
4422016

[10.0.0] - 2021.02.09

Changed

  • Updated Kotlin to 1.4.30 version.

    Breaking - removed support for following deprecated Kotlin plugins:

    1. "kotlin2js"
    2. "kotlin-platform-*"
  • Updated Android Gradle Plugin to 4.1.0 version.

    Breaking - removed build variants meta tasks. Minimum supported AGP version is 4.0.0.

  • Updated shadow plugin to 6.1.0 version.

  • Set default ktlint version to 0.40.0

  • Updated Gradle to 6.8.1 version

  • Set minimal supported Gradle version to 6.0

  • Set minimal supported KtLint version to 0.34.0

  • Use KtLint directly instead of invoking it via CLI #424

    Breaking:

    1. Tasks classes were completely changed and new one were introduced. Configuration should stay the same,
      so, if you don't configure tasks directly, update should be done without issues.
    2. To configure reports output directory, use GenerateReportsTask#reportsOutputDirectory property.
    3. Errors in Gradle console does not use colors. If you still need it, please open a new issue.
    4. Linting is running in workers with process isolation.
      To configure maximum heap size, use BaseKtLintCheckTask#workerMaxHeapSize property.
    5. "ktlintRuleset" and "ktlintReporter" configurations dependencies versions are constraint by main "ktlint" configuration dependencies versions.

Fixed

  • Gradle deprecations #395
  • Fail task on KtLint crash #229