square/moshi

Kapt: KotlinPoetMetadata can't parse with Kotlin 1.8

zskingking opened this issue · 0 comments

Caused by: java.lang.IllegalStateException: Could not parse metadata! This should only happen if you're using Kotlin <1.1.
at com.squareup.kotlinpoet.metadata.KotlinPoetMetadata.readKotlinClassMetadata(KotlinPoetMetadata.kt:89)
at com.squareup.kotlinpoet.metadata.KotlinPoetMetadata.toImmutableKmClass(KotlinPoetMetadata.kt:118)
at com.immomo.android.mm.kobalt.processor.ApiCacheGenerator.generate(ApiCacheGenerator.kt:32)
at com.immomo.android.mm.kobalt.processor.ApiCacheGenerator.generate(ApiCacheGenerator.kt:141)
at com.immomo.android.mm.kobalt.processor.KobaltProcessor.process(KobaltProcessor.kt:50)
at org.jetbrains.kotlin.kapt3.base.incremental.IncrementalProcessor.process(incrementalProcessors.kt:90)
at org.jetbrains.kotlin.kapt3.base.ProcessorWrapper.process(annotationProcessing.kt:197)
at