Hi, I am getting the below error sometimes when ru...
# detekt
a
Hi, I am getting the below error sometimes when running detekt :
Copy code
Could not resolve org.jetbrains.kotlinx:kotlinx-html-jvm:0.7.2.
     Required by:
         project : > io.gitlab.arturbosch.detekt:detekt-cli:1.15.0 > io.gitlab.arturbosch.detekt:detekt-core:1.15.0 > io.gitlab.arturbosch.detekt:detekt-report-html:1.15.0
My detekt gradle plugin version is 1.23.6 and my toolVersion is 1.15.0. On another note where do I find the latest tool versions for detekt ?
Also do we really need to specify the tool version ? I don’t really know why this is there since the code is pretty old.
b
No, you don't need to define it. It will default to the same version as the gradle plugin.
And 1.15 is a really old version so I recommend you to upgrade
đź‘€ 1