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

eygraber

10/11/2021, 7:39 PM
Running
gradle check
used to run all the necessary detekt tasks for me
detektMetadata
,
detektJvmMain
etc...). It seems to no longer be doing that. How can I get the behavior back?
check
seems to work fine for JVM modules, but issues in common source sets are not getting found (unless I manually run
detektMetadata
)
c

chao

10/11/2021, 8:13 PM
Which detekt gradle plugin variant + version were you using?
e

eygraber

10/11/2021, 8:15 PM
id("io.gitlab.arturbosch.detekt") version 1.18.1
Before that I was using
1.18.0
and possibly
1.17.x
c

chao

10/15/2021, 12:24 AM
Actually this is the intended change https://github.com/detekt/detekt/pull/4025
It feels like people are suggesting the opposite way https://github.com/detekt/detekt/issues/3927
e

eygraber

10/15/2021, 1:16 AM
That makes sense. I guess it took me by surprise. I have a project with mixed kotlin-jvm and multiplatform modules, so I'll probably just run
gradle check detektMain detektMetadata
👍 1
10 Views