Do other people get a problem in intellij ultimate when they are working on a kotlin multiplatform wizard project that libraries included through the build.gradle.kts in the commonMain section of the commonApp folder are not recognized by intellij as existing even though when run they compile and work? Example:
https://github.com/vextorspace/DaMon
j
Javier
03/06/2024, 12:25 PM
Unrelated question, what is that twister 🌪️ icon?
d
Douglas Ronne
03/06/2024, 7:56 PM
I don't see it anywhere, where do you see it?
j
Javier
03/06/2024, 8:29 PM
Image from iOS.jpg
d
Douglas Ronne
03/06/2024, 8:34 PM
I don't know what the actual symbol is but it is from the code complexity plugin:
Douglas Ronne
03/06/2024, 8:35 PM
It is more of a cognitive complexity than cyclic complexity. Still not exactly what I would like to see, which is the amount of indentation plus the lines of code from the book "Your Code as a Crime Scene" which correlates to bugs better than cyclic complexity. This one wasn't tested but it feels sort of similar.
👍 1
thank you color 1
Douglas Ronne
03/07/2024, 8:43 PM
Ah, so my real problem is a lack of understanding of the multiplatform paradigm. The project I was trying to include was not multiplatform, it was Java so it only compiles to jvm.
I need to find multiplatform versions of libraries, in this case there is a ksoup