running in the following issue (with detekt 1.18.0...
# detekt
r
running in the following issue (with detekt 1.18.0) for :detektJvmMain
error: the feature "multi platform projects" is experimental and should be enabled explicitly
How do I enable this explicitly could not find something on detekt.github.io
r
looks unlikely to me as it only occurs for dekteJvmMain, compileKotlinJvm does not complain
also the error occurs when running gradle, it's not an intellij problem
b
Gradle 7.2-rc-2 + Kotlin 1.5.21 + Detekt 1.8.0 + JVM 11.0.2 > the problem is not reproducible Although recently I also ran into her…
r
I get the error for the following:
Copy code
actual typealias JvmSynchronized = Synchronized
just in case you want to check if this also no longer occurs with gradle 7.2-rc2 (all other dependencies are the same as I already use)
b
But I saw another problem - detektJvmMain is not executed if it is not explicitly called ... 😞 I will go to issue a bug
m
They intentionally made it so only
detekt
is included by
check
. The other tasks have to be run manually.
I get this mpp warning also. My guess is that detekt is not passing some flag to the compiler, but I don't really know how it works
r
@BorzdeG check depended on detektJvmMain in 1.17.1, so I guess it's a regression