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

Remove the `Project` parameter from `AnvilExtension.useKsp(...)` #930

Closed RBusarow closed 6 months ago

RBusarow commented 6 months ago

The new code manages to be configuration-cache-safe without needing the Project parameter. I added cases for KSP generation to the Gradle tests in LifecycleTest.