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

Jim

07/14/2020, 4:14 AM
I'm starting a project with the experimental release of kotlin 1.4 and am trying to get kapt to work but get this error
ype mismatch: inferred type is String but Action<KaptExtension> was expected
I've tried moving kapt (and the associated moshi deps) between jvm and common with no success has anyone seen kapt working in multiplatform? I attached my build.gradle.kts file and would appreciate any help!
l

louiscad

07/14/2020, 12:15 PM
You're using the wrong kapt version. It should be the same as Kotlin version.
j

Jim

07/14/2020, 7:01 PM
oh yes good point I'll try that 🙏 thanks
2 Views