Chris Mulder
12/01/2021, 9:42 AMyigit
12/01/2021, 4:23 PMAlex Vanyo
12/01/2021, 8:17 PMexpect
in common using kspMetadata
, and then separate “platform” processor(s) that generate the actual
for each platform. (maybe the “common” processor generates an “internal” annotation to communicate with the platform processors if needed?)
That doesn’t sound very straightforward thoughAlex Vanyo
12/01/2021, 8:19 PMChris Mulder
12/01/2021, 8:52 PMinternal
is seems part of the public API of the module. So I guess it just get compiled? 🤷♂️
@Alex Vanyo that was indeed a solution that came to mind, should work to have processor run separately for each platform and have it generate it's part. But this feels a bit inefficient and illogical since the generated code of all platforms is so closely coupled and it would make more sense to generate it in one go.
I might be able to just stick to kspMetadata
and maybe change the output dirs to the platform source sets, but I should know what those dirs should be then.Alex Vanyo
12/01/2021, 9:07 PMkspMetadata
or did you add a ksp
task for each target?Chris Mulder
12/01/2021, 9:08 PMkspMetadata
Chris Mulder
12/02/2021, 9:47 AM