square / anvil

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

re-run analysis between an incremental sync and code generation #943

Closed RBusarow closed 3 months ago

RBusarow commented 3 months ago

If the incremental syncing logic at the start of compilation results in any file changes, return early without actually generating code (in that round). The compiler will do another incremental compilation, returning an updated set of source files and a ModuleDescriptor that reflects any deleted or added files since the previous round.