https://kotlinlang.org logo
#detekt
Title
# detekt
b

Big Chungus

06/03/2022, 8:58 AM
Detekt Ij plugin seems to be unable to support mpp projects. Is this a known issue or just me?
g

gammax

06/03/2022, 11:26 AM
define "unable to support mpp projects". We do support KMP projects, not sure what exactly you're experiencing
b

Big Chungus

06/03/2022, 11:27 AM
Well basically any KMP project I enable detekt ij plugin for crashes
i.e. Detekt plugin error and then no detext highlights
g

gammax

06/03/2022, 11:27 AM
IJ plugin?
b

Big Chungus

06/03/2022, 11:28 AM
g

gammax

06/03/2022, 11:28 AM
Ok so you're talking about the Intellij Pluing. There is support for KMP inside detekt-gradle-plugin. Not sure if there is anything needed on the IJ Plugin side to make it work with KMP. I would open an issue on that side then
👍 1
b

Big Chungus

06/03/2022, 11:28 AM
Here's one of the projects that crash it https://github.com/mpetuska/kmdc
l

Landry Norris

06/03/2022, 3:33 PM
For what it’s worth, I’ve been using detekt in a multi-module KMM project for a while now with no issues.
👍 2
b

Big Chungus

06/03/2022, 3:52 PM
@Landry Norris thanks for the confirmation. Must be something particular with my setup then
3 Views