The new `detekt-compiler-plugin` should work with ...
# detekt
r
The new
detekt-compiler-plugin
should work with Kotlin 2.+ correct? I'm getting:
Copy code
error: there are some plugins incompatible with language version 2.0:
  io.github.detekt.compiler.plugin.DetektCompilerPluginRegistrar
Please use language version 1.9 or below
g
Please open a GH issue
The new
detekt-compiler-plugin
should work with Kotlin 2.+ correct?
Yes it should. However we're migrating everything over to the Analysis API and we'll probably be removing the compiler plugin before 2.0 hits stable
r
Will the new AA also provide type resolution natively and still have compiler plugin functionality? (mentioned in above issue but wanted to ask here as well)
b
No, most likely we will remove the compiler plugin.
🥲 1
r
Curious what the reasoning is? 👀
k
Does this mean we can’t run detekt in a CI pipeline if its using the AA?
b
This is just related with the detekt compiler plugin. If you don't use it you aren't affected. And, in any case, local and con should be the same.
👍 1
k
Sweet, thank you