IntelliJ Show an Error on kotlinx.serialization, but compiling works
I have a problem where IntelliJ tells me that the @Serializable annotation cannot be accessed as it's internal to
kotlin.io etc. The kotlinx.serialization package also shows as an unresolved reference.
Apparently, this has something to do with using Kotlin 1.7.x as when I downgrade to Kotlin 1.6.10 the issue no longer presents itself. However, Gradle compiles and runs the application without issue even on 1.7.10. Therefore, this seems like ultimately an issue with IntelliJ and/or one of my...