ansman/auto-dagger

Support KSP

Closed this issue · 3 comments

Dagger just released initial KSP support (https://github.com/google/dagger/releases/tag/dagger-2.48). Unfortunately, upstream processors also need to be KSP compliant.

ansman commented

Good thing auto-dagger is already KSP compliant :)
Just change kapt to ksp for the auto-dagger compiler and it will work just fine. I just need to update the documentation to mention this.

ansman commented

Looks like there are some issues though, namely that auto-dagger generates extension functions for @Binds which aren't supported with KSP.

ansman commented

0.9.0 was just released with Dagger compliant generation