A Kotlin compiler plugin to make dependency injection with Dagger 2 easier.
APACHE-2.0 License
Bot releases are hidden (Show)
Published by vRallev over 2 years ago
@ContributesSubcomponent
to stable, see #474.@ContributesSubcomponent
through a new replaces
attribute, see #466.@ContributesSubcomponent
uses a factory and is used in multiple parent components, see #459.CodeGenerator
s for AnvilCompilation
. This makes it easier to unit-test specific scenarios, see #470.CodeGenerator
s), see #467.2.3.11-1-6-10
if you use Kotlin 1.6.10
. Until Anvil hasn't adopted Kotlin 1.6
I'll publish additional versions that are required due to compiler API incompatibilities.
Published by vRallev almost 3 years ago
@ContributesSubcomponent
to delay merging contributions until the parent component is created, see #160.@MergeInterfaces
and @MergeModules
to another scope with @ContributesTo
.2.3.10-1-6-0
if you want to test Kotlin 1.6.0
. Until Anvil hasn't adopted Kotlin 1.6
I'll publish additional versions that are required due to compiler API incompatibilities.Published by vRallev almost 3 years ago
syncGeneratedSources
, see #413.2.3.9-1-6-0-RC2
if you want to test Kotlin 1.6.0-RC2
. Until Anvil hasn't adopted Kotlin 1.6
I'll publish additional versions that are required due to compiler API incompatibilities.2.3.9-1-6-0
if you want to test Kotlin 1.6.0
. Until Anvil hasn't adopted Kotlin 1.6
I'll publish additional versions that are required due to compiler API incompatibilities.Published by vRallev almost 3 years ago
syncGeneratedSources
to sync generated sources in the IDE, see #412.BindingModuleGenerator
, see #310. (this allows you generated @ContributesBinding
annotations in custom code generators)TypeNames
for assisted lambda arguments between descriptors and PSI, see #400. (regression in previous release)2.3.8-1-6-0-RC2
if you want to test Kotlin 1.6.0-RC2
. Until Anvil hasn't adopted Kotlin 1.6
I'll publish additional versions that are required due to compiler API incompatibilities.Published by vRallev almost 3 years ago
KotlinCompilation
when using the utilities to test custom code generators, see #386.2.3.7-1-6-0-RC
if you want to test Kotlin 1.6.0-RC
. Until Anvil hasn't adopted Kotlin 1.6
I'll publish additional versions that are required due to compiler API incompatibilities.Published by vRallev about 3 years ago
2.3.6-1-6-0-RC
if you want to test Kotlin 1.6.0-RC
. Until Anvil hasn't adopted Kotlin 1.6
I'll publish additional versions that are required due to compiler API incompatibilities.Published by vRallev about 3 years ago
1.5.31
.Provider<Lazy<Type>>
properly for member injection, see #365.anvilMain
extends anvil
so that code generators are picked up, see #368.Published by vRallev about 3 years ago
1.5.21
.Provider<Lazy<Type>>
properly, see #344.Published by vRallev over 3 years ago
Published by vRallev over 3 years ago
Published by vRallev over 3 years ago
generateDaggerFactories
, generateDaggerFactoriesOnly
and disableComponentMerging
through the variant filter, see #100.Published by vRallev over 3 years ago
CodeGenerator
, see here and #265.1.5.10
. The old legacy compiler backend is still supported and the IR backend not required yet.Published by vRallev over 3 years ago
Published by vRallev over 3 years ago
Published by vRallev over 3 years ago
Published by vRallev over 3 years ago
@ContributesBinding
supports qualifiers now, see the README and documentation for examples.@ContributesMultibinding
now, see the README and documentation for examples, see #152.2.32
. Generating factories for assisted injection is no longer compatible with older Dagger versions due to the behavior change in Dagger itself. Make sure to use Dagger version 2.32
or newer in your project, too.@ContributesBinding
has a priority field now for cases where you don't have access to replaced bindings at compile time, see #161.Published by vRallev over 3 years ago
1.4.30
. Older Kotlin versions are no longer supported moving forward.Published by vRallev over 3 years ago
Published by vRallev over 3 years ago
2.0.14
. This release accidentally used a Kotlin preview version.Published by vRallev over 3 years ago