addKspArguments

fun Project.addKspArguments(vararg keyValues: Pair<String, String>)(source)

Convenience method for registering key/value parameters that can be read by KSP.

This method assumes that this project has already applied the KSP plugin.

If any of the keyValues come from a Provider, ensure that this function is called lazily, for example inside a configureKspTask block.