BorzdeG
11/21/2021, 1:33 PMBorzdeG
11/21/2021, 1:36 PMgammax
11/21/2021, 1:36 PMBorzdeG
11/21/2021, 1:36 PMerror: unresolved reference: CurrencyBorzdeG
11/21/2021, 1:41 PMBorzdeG
11/21/2021, 1:47 PMJavier
11/21/2021, 2:18 PMJavier
11/21/2021, 2:19 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 PMJavier
11/21/2021, 2:28 PMJavier
11/21/2021, 2:28 PMJavier
11/21/2021, 2:29 PMBorzdeG
11/21/2021, 2:39 PMsetSource(projectDir)
include("**/*.kt")
...BorzdeG
11/21/2021, 2:40 PMJavier
11/21/2021, 3:19 PMJavier
11/21/2021, 3:19 PMJavier
11/21/2021, 3:19 PMJavier
11/21/2021, 3:20 PMJavier
11/21/2021, 3:20 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