Yannick Pulver
02/03/2025, 7:43 PMdokkaGenerate
I’m currently receiving this error using Kotlin 2.1.0, Serialization 1.8.0, Dokka 2.0.0.
Execution failed for task ':shared:dokkaGeneratePublicationHtml'.
> Could not initialize class kotlinx.serialization.json.JsonLiteralSerializer
Exception java.lang.NoClassDefFoundError: kotlin/uuid/Uuid [in thread "Execution worker Thread 3"]
We’re using Kotlin Uuid in some parameters. Do you happen to have met this issue before?Chris Lee
02/03/2025, 8:20 PMkotlin/uuid/Uuid
was added in Kotlin 2.0; is it possible that some part of the project (perhaps Gradle itself) isn’t using language level 2.0 or higher?Yannick Pulver
02/03/2025, 8:41 PM