I\'m new with kotlin and Dagger. I have a little problem that I do not how to solve and I don\'t find a solution.
So this is what I have:
@Module class A
If u have problem withe DaggerComponent, You should add
DaggerComponent
apply plugin: 'kotlin-kapt' kapt { generateStubs = true }
to build.gradleit will generate kotlin code for dagger 2 otherwise project will only build on Rebuild
build.gradle
kotlin
dagger 2
Rebuild