stuebingerb
10/28/2026, 9:41 AM./gradlew check (I've renamed UnusedImports to UnusedImport and have it explicitly enabled in my config/detekt.yml). "UnusedImports" was reported as incorrect config name, and a wildcard import in the same file is also reported, so the general setup seems to work as expected. IntelliJ registers them as "unused import directive".
Is this a known issue, am I missing something, or can I provide anything to support further analysis?
(env: ktLint-gradle plugin 14.2.0, Gradle 9.8.2, Java 21.0.13.0.2, Kotlin 2.4.21 with jvmToolchain 17 and Kotlin apiVersion/languageVersion 2.2)
Edit: ./gradlew detektMain finds them, so it looks like they require "full" analysis mode now. Is there an easy way to enforce full analysis during check? Or how can I analyze why the plugin is not using it by default (the project is jvm only)?stuebingerb
10/28/2026, 10:37 AMdetektMain also finds a false positive unused import for kotlinx.serialization.json.Json.Default.decodeFromString so I guess I'll (have to) stick with 1.23.8 for now.
Let me know if you want me to open issues, and what details to include there.