It should be easy to unconditionally register the tasks and make them no-ops, but I'm not sure about these without further evaluation:
1. performance impact
2. any other side-effects
On the other hand, may I know why, in your use case, ksp needs to be applied that late?
z
Zac Sweers
05/07/2025, 8:57 PM
our convention plugin needs to evaluate our extension first to determine if KSP is needed
I consulted a Gradle expert and ksp should not resolve configuration in configuration / evaluation time. That means tasks can only be registered unconditionally anyways. I'll fix it in KSP's side.