Open cee-dee opened 3 years ago
Thanks for filling an issue! I'll take a look
Eeeks. I am seeing the same. Any updates? I am using maven and not gradle if that helps eliminate that. I am also using Kotlin 1.4.10 but with autodsl 0.0.10.
I found the issue. The problem is with the library that I use to parse Kotlin Metadata: me.eugeniomarletti.kotlin.metadata:kotlin-metadata:1.4.0
It doesn't support the new metadata format in Kotlin 1.4.x and there is no new available release version. Probably because a new kotlinx-metadata parsing lib is being developed by JetBrains: https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-metadata-jvm/0.2.0/jar
So the workaround would be go to back to Kotlin 1.3.72 and you can use the latest gradle version.
I'm going to work in a proper solution for this. I'll have to review the new jetbrain kotlinx-metadata lib to see if I can do the same for 1.4.x Kotlin version or update eugeniomarletti lib.
Reviewing kotlinx-metadata-jvm version 0.2.0, it's far from bringing all the required data to replace eugenio's lib. And in Eugenio's github repo there is already an issue reported about this: https://github.com/Takhion/kotlin-metadata/issues/15
When updating the included sample app to the latest Kotlin and Gradle version, one gets compilation errors:
Changed files are
gradle-wrapper.properties
build.gradle
Is this already known? Is there a fix or workaround?