After creating a new kotlin mpp project, my build....
# gradle
r
After creating a new kotlin mpp project, my build.gradle.kts can't be parsed by the kotlin plugin (see screenshot). Anyone know what the problem can be? This is in intellij ultimate 2020.2, project created with new project wizard. Is there some cache folder that I need to clear (already removed ~/.cache and ~/.gradle and invalidated caches in intellij)
j
change the jdk in project structure
r
Ok, but to what? JDK 11 or JDK 13 don't seem to make a difference (was 1.8)
btw, to be clear, it builds fine, it's just intellij that doesn't seem to get the structure.
j
Yeah, I fixed it changing the jdk
btw I think it should works with all jdk, maybe JetBrains should check it
t
I've had my
.idea
folder of a project get into a wonky state and cause issues like this. ¯\_(ツ)_/¯