Open
Description
KSP offers a way to pass options to processors, its done with the -P flag, for example:
-P plugin:com.google.devtools.ksp.symbol-processing:apoption=key=value
Since we don't have a dedicated attr for that and the existing kotlinc opts are not supporting -P it's impossible to pass those options to the KSP plugin.
We probably would want to allow declaring the options on both target and processor level.
Metadata
Metadata
Assignees
Labels
No labels
Activity
restingbull commentedon Sep 29, 2023
Does KSP fall on unknown options?
idanakav commentedon Oct 3, 2023
In general , yes, since kotlinc will throw on unknown options, but in the case of
apoptions
it simply going to split by=
and pass down the key values.