Anyone was successfully able to use dagger in proj...
# android
w
Anyone was successfully able to use dagger in project which uses both java and kotlin? I'm not able to inject in kotlin classes 15 replies @radityagumay this is the gist of important parts. https://pastebin.com/M6CJdHtn
Copy code
0.31 KB
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
 
 
 
dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    implementation libraries.dagger
    compileOnly libraries.appcompat
    annotationProcessor libraries.daggerCompiler
    testAnnotationProcessor libraries.daggerCompiler
}