square / anvil

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

Wire up gradle to backend options + add future component merging backend option for future use #886

Closed ZacSweers closed 7 months ago

ZacSweers commented 7 months ago

This allows enabling the new KSP code gen support

ZacSweers commented 7 months ago

We could rename backend to factoryGenBackend to make it more explicit if we want, since it wasn't exposed before. No strong feelings either way

RBusarow commented 7 months ago

We could rename backend to factoryGenBackend to make it more explicit if we want, since it wasn't exposed before. No strong feelings either way

I like factoryGenBackend.

ZacSweers commented 7 months ago

The API change is real but feels ok to say since it wasn't usable before anyway?