square / anvil

A Kotlin compiler plugin to make dependency injection with Dagger 2 easier.
Apache License 2.0
1.28k stars 75 forks source link

Fix dagger-compiler lookup in useKsp() #988

Closed ZacSweers closed 2 months ago

ZacSweers commented 2 months ago

When not using KSP for component merging, we should look in the kapt configuration instead of KSP for the dagger-compiler dep.