Hi! I have tried and used multiplatform several ti...
# multiplatform
s
Hi! I have tried and used multiplatform several times and most of the times works well. But this time when creating a new project the IDEA wont recognise stuff from my build.gradle.kts file with the error Unresolved reference: xxx This project is nearly identical to other projects I have and works just fine. Any ideas on how to investigate why the intelliJ (2024.1.2) is showing this as errors? The project compiles just fine for all targets!
a
If fresh project does not work for you, try to "invalidate caches" (from Action menu).
s
Already tried that, didn't work.
a
Then stop gradle agent, restart your computer...
s
This happens on multiple machines, both ubuntu and mac. I have tried invalidate caches, removed ~./.gradle/caches, reboot and even switched machines. It is not an entirely of the shelf project, I have shared the project here: https://github.com/warting/flat_kmp_poc
a
For me works fine... I'm not familiar with such kind of bug, so other suggestions will be also no more then guessing.
s
what's yours java version?
disabling org.gradle.unsafe.isolated-project made the trick
👍 1