rules_kotlin icon indicating copy to clipboard operation
rules_kotlin copied to clipboard

Add support for passing ksp options

Open idanakav opened this issue 2 years ago • 3 comments

Resolves #1035

Sanity tested with:

cd examples/ksp ; bazel aquery 'mnemonic(KotlinKsp, //:coffee_lib)' | grep ksp_opts -A 2

    --ksp_opts \
    'arg1=value1' \
    'arg2=value2' \

idanakav avatar Sep 29 '23 18:09 idanakav

Does KSP fail if flags for absent plugins are passed?

restingbull avatar Oct 12 '23 21:10 restingbull

Does KSP fail if flags for absent plugins are passed?

No, those are generic KSP options that are going to be forwarded to any KSP processor. In other words, any KSP processor listed in the plugins will receive the same options.

idanakav avatar Oct 14 '23 03:10 idanakav

Does KSP fail if flags for absent plugins are passed?

No, those are generic KSP options that are going to be forwarded to any KSP processor. In other words, any KSP processor listed in the plugins will receive the same options.

Shoot. Going to need to track the plugin that needs the arguments.

restingbull avatar Oct 20 '23 17:10 restingbull