[10.0.0] - 2021.02.09
Changed
-
Updated Kotlin to
1.4.30
version.Breaking - removed support for following deprecated Kotlin plugins:
- "kotlin2js"
- "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:
- 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. - To configure reports output directory, use
GenerateReportsTask#reportsOutputDirectory
property. - Errors in Gradle console does not use colors. If you still need it, please open a new issue.
- Linting is running in workers with process isolation.
To configure maximum heap size, useBaseKtLintCheckTask#workerMaxHeapSize
property. - "ktlintRuleset" and "ktlintReporter" configurations dependencies versions are constraint by main "ktlint" configuration dependencies versions.
- Tasks classes were completely changed and new one were introduced. Configuration should stay the same,