-
I'm trying to replicate applying ksp conditionally, but i encountered a strange issue. I have something like that in my plugin (composite build): target.afterEvaluate {
if (myExtension.ksp) {
target.pluginManager.apply("com.google.devtools.ksp")
target.dependencies.add("ksp", project(":core:processor"))
}
} The issue is that the Doing the same code directly in target Anothing things, like dagger, implementation dependencies works fine, but the ksp is just not running for me. I also tried to apply plugin in proper UPDATE: Doing a SINGLE |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
We track whether or not the plugin is needed and then apply it IFF it hasn't been already applied. The relevant functions are
Anything beyond that though then I think you'll just need to make a repro project and file an issue on the KSP repo |
Beta Was this translation helpful? Give feedback.
We track whether or not the plugin is needed and then apply it IFF it hasn't been already applied.
The relevant functions are
Anything beyond that though then I think you'll just need to make a repro project and file an issue on the KSP repo