You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Anvil annotations are repeatable. Modules and bindings can now be contributed multiple times to different scopes. Multiple scopes can be merged in a single component, see #236.
Rewrote many of the internals of Anvil and as a result Anvil is up to 41% faster due to heavy caching of already parsed code structures.
Automatically publish snapshots for the main branch.
Many of the internals of Anvil were rewritten and the non-stable APIs of the compiler-utils artifact have changed. Some highlights:
Instead of working with PSI or Descriptor APIs directly, you should work with the common ClassReference API.
ClassReference is a sealed class and either implemented with PSI or Descriptors, so it's easy to fallback to a specific API and add your own extensions.
The entry point to iterate through all classes used be classesAndInnerClass(module), use classAndInnerClassReferences() instead.
Removed
Removed support for Kotlin 1.5.
Removed deprecated APIs from the AnvilExtension in the gradle plugin.