Good morning, I’m finally trying ksp on a Multiplatform project ( using Koin annotations and Arrow optics ), but I see the code from my
commonMain
sources is generated in
generated/ksp/jvm/jvmMain/kotlin
.
Did I do something wrong? I’m on KSP 1.7.20-1.0.7
solved 1
Davide Giuseppe Farella
10/31/2022, 12:38 PM
Note that my module has only a jvm variant now, declared as
Copy code
kotlin {
jvm()
}
j
Jiaxiang
10/31/2022, 5:15 PM
this is expected behavior. With 1.7.20 there has been a change in KMP where if you only have one target for your KMP project, common task won’t be executed.
d
Davide Giuseppe Farella
10/31/2022, 5:38 PM
Thanks, I resolved in the #arrow channel, I made a mistake in the config