Hey, I have a question for someone working on kotlin-scripting. Is the kts compiler using intellij’s project indexing for resolving references at all?
I am having this weird issue where all of a sudden some references to certain classes/functions are no longer resolved during kts compilation.
I thought it was some kind of weird caching issue, so I cleared my caches, killed all my Gradle daemons, rebuilt everything in Gradle, disabled build cache, parallel builds, etc.. and rebuilt again but the problem persists. (Tried opening and closing IDE, tried repairing it, invalidating caches, nothing worked.)
The weird part is that it seems tied to IntelliJ because I refactored the unresolved function to a random name, then renamed it back and suddenly IT IS resolved during kts compilation! and I am so confused as to how this happens.