Add Dagger (#554)
* Add Dagger DI * Preemptively fix tests * Add missing licenses * DI fixes * ci fixes
This commit is contained in:
parent
720f7c6a0c
commit
a5cffe0fea
41 changed files with 1040 additions and 415 deletions
|
@ -44,6 +44,7 @@ android {
|
|||
}
|
||||
|
||||
ext.supportLibraryVersion = '27.1.0'
|
||||
ext.daggerVersion = '2.15'
|
||||
|
||||
dependencies {
|
||||
implementation('com.mikepenz:materialdrawer:6.0.6@aar') {
|
||||
|
@ -77,6 +78,13 @@ dependencies {
|
|||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
|
||||
|
||||
testImplementation 'junit:junit:4.12'
|
||||
|
||||
implementation "com.google.dagger:dagger:$daggerVersion"
|
||||
kapt "com.google.dagger:dagger-compiler:$daggerVersion"
|
||||
implementation "com.google.dagger:dagger-android:$daggerVersion"
|
||||
implementation "com.google.dagger:dagger-android-support:$daggerVersion"
|
||||
kapt "com.google.dagger:dagger-android-processor:$daggerVersion"
|
||||
|
||||
testImplementation "org.robolectric:robolectric:3.7.1"
|
||||
testCompile "org.mockito:mockito-inline:2.15.0"
|
||||
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue