What version of IJ are y'all using for kotlin mult...
# multiplatform
a
What version of IJ are y'all using for kotlin multiplatform?? Ever since I migrated to kotlin 1.7.0, all my gradle scripts are red, and the IDE fails to import some identifiers sometimes even from the stdlib. Building in terminal works just fine. Anyone with some insights?
m
I'm using latest eap (2022.2) and tricking it into doing the Gradle sync with Kotlin 1.6.10
a
please, do tell how
m
Haven't switched to 1.7 yet but 1.6.21 introduced a bunch of autocomplete issues for me, I guess related to HMPP
v
2022.2 eap 5 with kotlin 1.7.0, and many gradle syncs Also whenever you build via Terminal all my multiplatform imports are gone: https://youtrack.jetbrains.com/issue/KTIJ-22089
a
I've seen this kind of problem before and deleting the
caches
folder worked for me as described in the second answer here
m
This is most likely not configuration cache compatible (but I think it could be)
a
deleted all the cache folders, ~/.gradle/caches and ~/.cache/Jetbrains/Idea^. still reimporting the project. Fingers crossed
🤞 2
Finally solved it. Damn I honestly don't know what worked coz I tried almost everything I found on the web. My guess is if project JDK is oracle 18.0.1, changing it away from that and changing it back is what works for me
👍 1
👌 1