I'm getting errors in my build.gradle.kts file wit...
# intellij
t
I'm getting errors in my build.gradle.kts file with intellij 2020.3 and i'm not sure how to fix it. Everything runs correctly via the cli and via the intellij launch/debug buttons. I can even CTRL click on blocks that are red (such as application) and it correctly takes me to the implementation. I have a separate project running at the same time without this issue. Any thoughts?
j
Try changing the jdk in project structure
t
I've toggled between 15/14 without success
just installing adopt openjdk15 to ~/.jdks as the 15 i was using previously is the system installed one
sadly that doens't seem to have helped
gradle wrapper version was 6.7 .. updated to 6.7.1 and its working now
j
try jdk 11 or 8
mmm once I had issues with openjdk vs oracle jdk
but probably trying embedded jdk 11 or downloading it or jdk 8 could work
t
thankfully upgrading gradle solved it this time. thanks for your your help 🙏
👍 1