https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
p

Pedro Henrique

08/20/2022, 11:48 PM
I' ve published a library to Maven that uses Kotlin 1.7.20-Beta + API/Language version of 1.8. With the same settings, using this library through Gradle, it runs fine, but on IntellIJ I get a message saying that 'it is compiled by a pre-release version of Kotlin and cannot be loaded by this version of the compiler'. It only happens on JVM and IDEA-side, since I can build it normally and common and JS platforms aren't giving me this error. Is there any workarounds to this issue? I posted this first on #intellij, but since it is a Multiplatform-related issue, I think it is worth posting here as well.
b

Big Chungus

08/21/2022, 4:48 PM
You might need eap kotlin plugin for that (can be changes in ij settings)
p

Pedro Henrique

08/21/2022, 9:05 PM
I'm already using EAP Kotlin plugin
4 Views