Unable to use ktlint 0.38.0-alpha01 (Kotlin 1.4 compatibility)
See original GitHub issuebuildscript {
configurations.classpath.resolutionStrategy.dependencySubstitution.all {
val requested = requested as? ModuleComponentSelector ?: return@all
if (requested.group == "com.pinterest.ktlint") {
useTarget("${requested.moduleIdentifier}:0.38.0-alpha01", "Kotlin 1.4 compatibility")
}
}
}
$ ./gradlew lintKotlin
Execution failed for task ':lintKotlin'.
> There was a failure while executing work items
> A failure occurred while executing org.jmailen.gradle.kotlinter.tasks.lint.LintWorkerRunnable
> kotlin.jvm.internal.FunctionReferenceImpl.<init>(ILjava/lang/Object;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)V
Kotlinter itself has compatibility problems with Kotlin 1.4?
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Compatibility guide for Kotlin 1.4
Basic terms In this document we introduce several kinds of compatibility: source: source-incompatible change stops code that used to compile ...
Read more >Ktlint
No configuration required ktlint aims to capture the official Kotlin coding conventions and Android Kotlin Style Guide. · Rule sets ·. · Disable...
Read more >Upgrading Android kotlin version to 1.5.0 throwing error ...
It was my case, i did use external downloaded JDK. To change JDK go to File -> Settings -> Build, Execution, Deployment ->...
Read more >Changelog and Migration Guide - Detekt
The Gradle plugin now requires at least Gradle 5.4. This aligns with Kotlin's Gradle plugin. The Gradle plugin now supports configuration avoidance; The...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
3.0.0 is now available with kotlin 1.4.0 support.
0.38 is released: https://github.com/pinterest/ktlint/pull/846