Open mcumings opened 3 weeks ago
We have lots of these errors (https://github.com/google/ksp/issues/2177) from Dagger when using ksp.UseKSP2=true
e: [ksp] dagger.internal.codegen.base.DaggerSuperficialValidation$ValidationException$UnexpectedException:
Validation trace:
=> element (CLASS): app.PostViewModel
> Task :kspDebugKotlin FAILED
e: [ksp] dagger.internal.codegen.base.DaggerSuperficialValidation$ValidationException$UnexpectedException:
Validation trace:
=> element (CLASS): app.NewViewModel
...
@amal
when using
ksp.UseKSP2=true
Please see https://github.com/google/dagger/issues/2349#issuecomment-2329852274 but we actually don't support KSP2 right now so you shouldn't expect things to work when using it. It is a work in progress and our current top priority though.
Dagger: 2.52 KSP: 2.0.21-1.0.26
The following results in an exception during processing:
The result:
The stack trace is as follows: