Open
Description
We sometimes have plugins that defer configuration until after buildscripts are evaluated to get a correct picture of the the project's setup. If we defer adding KSP dependencies until this, it appears that KSP's gradle plugin will end up incorrectly never registering KSP tasks if they're not added directly in the buildscript.
Example build file
plugins {
kotlin("jvm")
id("com.google.devtools.ksp")
}
afterEvaluate {
dependencies.add("ksp", exampleDep)
}
The above will fail to register any KSP tasks even though a KSP processor dep was added eventually
Metadata
Metadata
Assignees
Labels
No labels
Activity