Created
May 23, 2020 06:19
-
-
Save Zhuinden/5e1a4136c1b29cd7dfef86a418721bc5 to your computer and use it in GitHub Desktop.
AssistedInjection sample: build.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//... | |
apply plugin: 'kotlin-kapt' | |
android { | |
//... | |
kotlinOptions { | |
jvmTarget = "1.8" | |
} | |
kapt { | |
correctErrorTypes true | |
} | |
} | |
dependencies { | |
//... | |
implementation 'com.google.dagger:dagger:2.27' | |
kapt 'com.google.dagger:dagger-compiler:2.27' | |
compileOnly 'com.squareup.inject:assisted-inject-annotations-dagger2:0.5.2' | |
kapt 'com.squareup.inject:assisted-inject-processor-dagger2:0.5.2' | |
//... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment