Hello there. I am having a trouble enabling type r...
# detekt
t
Hello there. I am having a trouble enabling type resolutions in my projects with detekt 14.2 version. When running
detektMain
command, I keep getting the same error about detekt not being able to choose kotlinx-html dependency. Like that
Cannot choose between the following variants of org.jetbrains.kotlinx:kotlinx-html-jvm:0.7.2
Any tips on this? Full exception message can be found here https://pastebin.com/uPHFNVtB Thank in advance
g
Are you applying this to an Android module or a pure java/kotlin module?
t
@gammax I apply this in
allprojects
clojure of a multimodule Android project. But this concrete exception fires when trying to build plain java module
g
I suppose just running
detekt
on that module works fine for you right?
If you could create a reproducer, I can take a look at the failure android eyes
t
Yes, running just a
detekt
task alone works fine. I'll try to set up a reproducer
Okay, so, the issue was that I forgot to update the plugin itself, only the tooling version was updated🤦‍♂️
g
ahah 😅 Glad that you solved 🙂