https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
n

natario1

09/07/2020, 11:04 AM
Is anyone having issues with the IDE after updating to 1.4.0? Symbols from dependencies are red, even
platform.*
imports are red, but code compiles just fine. And the error stays after a clean build / invalidating the cache
g

Glen

09/07/2020, 11:16 AM
@natario1, maybe consider restarting the IDE.
n

natario1

09/07/2020, 11:17 AM
I have tried, all that I could think of in the last few days
g

Glen

09/07/2020, 11:19 AM
Please @natario1, can I have a screenshot of how it looks like, or your gradle files?
d

darkmoon_uk

09/07/2020, 11:58 AM
@natario1 Yes, I am currently examining an issue where the IntelliJ IDE is not aware of symbols from MPP libraries beneath my top level JVM (JavaFX) project - but if I change the top-level application to be a multiplatform project as well, it resolves OK.
Again, Gradle compiles fine in both cases.
r

russhwolf

09/07/2020, 4:19 PM
@natario1 There’s a lot of reasons that can happen, so it would help if you can post a demo project or at least your gradle files. Also make sure that the Kotlin IDEA plugin is updated and matches the Kotlin version you use in Gradle. @darkmoon_uk I think what you’re seeing is https://youtrack.jetbrains.com/issue/KT-29082 which existed in 1.3.x as well.
2 Views