rudolf.hladik
07/21/2023, 1:42 PMandroid/androidDebug
? Where I can specify it? I would need it in commonMain
Ting-Yuan Huang
07/21/2023, 8:19 PMrudolf.hladik
07/23/2023, 7:43 AMrudolf.hladik
07/24/2023, 8:23 AM1.9.0
and it's still the same (project). Is it caused by that the Processor
is in jvm
module? I've tried to move it to common source set, but the dep com.google.devtools.ksp:symbol-processing-api
is only for jvm
😞 or should I use com.google.devtools.ksp:symbol-processing-cmdline
for common source set? I was following the kmp example but its not for iosrudolf.hladik
07/24/2023, 10:20 AMiosSimulatorArm64
and it will trigger redeclaration error. I need it only for common sourceSetTing-Yuan Huang
07/25/2023, 5:30 PMkspIosSimulatorArm64
and kspCommonMainMetadata
, common sources will be processed twice, one in common and one in (ios siumulator + common). Therefore, this line introduces some duplicated, generated code. With current KMP compilation model, you can simply rely on the fact that common sources are processed along with target sources. Although common sources sometimes do get processed individually, they are rarely needed unless you are publishing libraries.Ting-Yuan Huang
07/25/2023, 5:32 PM