With 2022.2.1 RC I still get the dreaded "cannot access java.lang.Comparable etc." in my build.gradle.kts files, as if the IDE didn't index the jvm... In some previous versions reloading the project or changing the jvm in the Project Structure dialog did solve the problem, but now I cannot get rid of it... I also tried upgrading gradle to the last version, but it didn't solve the problem. I'm using the 1.7.10 kotlin toolchain.