Hi I’ve been programming in Kotlin but today I opened my project and tried to run a main function but now it starts spewing a bunch of errors:
Interesting tidbit is that I can build the project fine with maven, and the resulting jar also works as it should.
This leads me to believe my IntelliJ project has somehow managed to no longer be properly configured, I have tried the “invalidate caches” fix but it didn’t do anything.
pom.xml:
pom.xml (6.5 KB)
Edit:
I just noticed that it seems like it’s compiling with Kotlin 1.3 but my project uses 1.2, I also don’t know why it’s at 1.3 as the project settings are set to 1.2
How do I revert back to 1.2 so my project compiles again in intelliJ?