BorzdeG
11/21/2021, 1:33 PMgammax
11/21/2021, 1:36 PMBorzdeG
11/21/2021, 1:36 PMerror: unresolved reference: Currency
Javier
11/21/2021, 2:18 PMBorzdeG
11/21/2021, 2:23 PMdetekt
in KMP does not check the source code - you can see this by adding an empty class, for example, to commonMain. You will not receive an EmptyClassBlock errorJavier
11/21/2021, 2:28 PMBorzdeG
11/21/2021, 2:39 PMsetSource(projectDir)
include("**/*.kt")
...
Javier
11/21/2021, 3:19 PMgammax
11/21/2021, 7:42 PMdetetk
you’re not using type resolution. You should use one of the other detektJvmMain
and similar tasks to enable type resolution.leandro
11/09/2022, 2:54 PMon KMP projects if you use a plain detetk you’re not using type resolution.Is this still true? I wonder what’s the best way to run detekt on KMP modules, and more specifically, across the whole project