|
@@ -48,11 +48,16 @@ dependencies {
|
|
|
implementation "com.squareup.retrofit2:converter-gson:$retrofit_version"
|
|
implementation "com.squareup.retrofit2:converter-gson:$retrofit_version"
|
|
|
implementation "com.squareup.retrofit2:retrofit:$retrofit_version"
|
|
implementation "com.squareup.retrofit2:retrofit:$retrofit_version"
|
|
|
implementation "com.google.code.gson:gson:$gson_version"
|
|
implementation "com.google.code.gson:gson:$gson_version"
|
|
|
- //
|
|
|
|
|
|
|
+ //Coroutines
|
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines_version"
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines_version"
|
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version"
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version"
|
|
|
|
|
|
|
|
testImplementation 'junit:junit:4.13.2'
|
|
testImplementation 'junit:junit:4.13.2'
|
|
|
|
|
+ testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutines_version"
|
|
|
|
|
+ testImplementation "androidx.arch.core:core-testing:2.1.0"
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
|
|
|
|
+ //testing network
|
|
|
|
|
+ testImplementation 'org.mockito:mockito-core:2.19.0'
|
|
|
|
|
+ testImplementation "com.squareup.retrofit2:retrofit-mock:$retrofit_version"
|
|
|
}
|
|
}
|