-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump Kotlin-related dependencies (#225)
With this change, we bump all Kotlin-related dependencies to recent versions. This includes a Kotlin bump from 1.3 to 1.4, the migration from com.github.shyiko.ktlint to com.pinterest.ktlint and a significant upgrade of Detekt from 1.0.0-RC14 to 1.14.0. For running Detekt, a new tooling API was introduced. This means that the code that invoke Detekt can change not to use internal classes anymore. Calling a Kotlin DSL from Java looks a little verbose, but it still works nicely. For tests, the Detekt YAML file was reset from the latest default, then adapted slightly so the expected rules still get triggered. A few more minor changes were made to match expectations with the latest version. I also add a specific test for a new Detekt rule that has been added since the previous version we were using here... In terms of migration/changelong: - Changelog of Detekt RC versions: https://arturbosch.github.io/detekt/changelog-rc.html - Detekt include/exclude migration: https://arturbosch.github.io/detekt/howto-migratetestpattern.html - Release notes of Detekt, since: https://arturbosch.github.io/detekt/changelog.html - KtLint changelog: https://github.com/pinterest/ktlint/releases Co-authored-by: Julien Lehuen <julien.lehuen@imc.com>
- Loading branch information
Showing
13 changed files
with
694 additions
and
238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.