Update test dependencies

This commit is contained in:
Kirill Kamakin
2021-11-13 11:07:42 +03:00
parent 12e1fe4939
commit d370823a10

View File

@@ -63,9 +63,12 @@ dependencies {
implementation "com.google.dagger:hilt-android:$hilt_version"
kapt "com.google.dagger:hilt-compiler:$hilt_version"
kaptTest "com.google.dagger:hilt-android-compiler:$hilt_version"
testImplementation "com.google.dagger:hilt-android-testing:$hilt_version"
// https://github.com/square/retrofit/tags
implementation "com.squareup.retrofit2:retrofit:2.9.0"
// https://github.com/JakeWharton/retrofit2-kotlinx-serialization-converter/tags
implementation "com.jakewharton.retrofit:retrofit2-kotlinx-serialization-converter:0.8.0"
@@ -73,6 +76,7 @@ dependencies {
def okhttp_version = "4.9.2"
implementation "com.squareup.okhttp3:okhttp:$okhttp_version"
implementation "com.squareup.okhttp3:logging-interceptor:$okhttp_version"
testImplementation "com.squareup.okhttp3:mockwebserver:$okhttp_version"
// https://github.com/Kotlin/kotlinx.serialization/releases
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.1"
@@ -107,8 +111,18 @@ dependencies {
// https://github.com/junit-team/junit4/releases
testImplementation "junit:junit:4.13.2"
// https://github.com/Kotlin/kotlinx.coroutines/releases
testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.5.2"
// https://github.com/robolectric/robolectric/releases
testImplementation "org.robolectric:robolectric:4.7"
// https://developer.android.com/jetpack/androidx/releases/test
androidTestImplementation "androidx.test.ext:junit:1.1.3"
testImplementation "androidx.test.ext:junit-ktx:1.1.3"
// https://mvnrepository.com/artifact/com.google.truth/truth
testImplementation "com.google.truth:truth:1.1.3"
// https://developer.android.com/jetpack/androidx/releases/test
androidTestImplementation "androidx.test.espresso:espresso-core:3.4.0"
}