A Kotlin compiler plugin to make dependency injection with Dagger 2 easier.
APACHE-2.0 License
Bot releases are visible (Hide)
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
Published by vRallev almost 4 years ago
generateDaggerFactoriesOnly
flag, see #164.Published by vRallev almost 4 years ago
1.4.20
. Note that this version no longer works with Kotlin 1.4.10
or older, see #159.Published by vRallev almost 4 years ago
1.4.10
. Note that this release is not compatible with Kotlin 1.4.20
.KotlinGradleSubplugin
class, see #30.:annotations
artifact.