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
Javier
10/09/2020, 11:49 AM
change the jdk in project structure
r
rnentjes
10/09/2020, 12:07 PM
Ok, but to what? JDK 11 or JDK 13 don't seem to make a difference (was 1.8)
rnentjes
10/09/2020, 12:11 PM
btw, to be clear, it builds fine, it's just intellij that doesn't seem to get the structure.
j
Javier
10/09/2020, 12:20 PM
Yeah, I fixed it changing the jdk
Javier
10/09/2020, 12:21 PM
btw I think it should works with all jdk, maybe JetBrains should check it
t
travis
10/11/2020, 4:52 PM
I've had my
.idea
folder of a project get into a wonky state and cause issues like this. ¯\_(ツ)_/¯