Skip to content

Commit

Permalink
✨ add dependencies of okHttps and Test
Browse files Browse the repository at this point in the history
  • Loading branch information
ii2001 committed Aug 1, 2024
1 parent 71f9fec commit 76af5c4
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions android/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ dependencies {
val retrofitVersion = "2.11.0"
val gsonVersion = "2.11.0"
val coreKtx = "1.13.1"
val okhttpVersion = "4.12.0"

implementation(libs.androidx.legacy.support.v4)
implementation(libs.androidx.recyclerview)
Expand All @@ -84,7 +85,16 @@ dependencies {
implementation(libs.material)
implementation(libs.androidx.activity)
implementation(libs.androidx.constraintlayout)

testImplementation(libs.junit)
testImplementation("junit:junit:4.13.2")
testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.5.1")
testImplementation("androidx.arch.core:core-testing:2.1.0")
testImplementation("org.mockito:mockito-core:3.11.2")
testImplementation("org.mockito.kotlin:mockito-kotlin:3.2.0")
testImplementation("io.mockk:mockk:1.12.0")
testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.5.1")

androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.espresso.core)

Expand All @@ -101,8 +111,8 @@ dependencies {
implementation("androidx.paging:paging-runtime-ktx:$pagingVersion")
implementation("com.squareup.retrofit2:retrofit:$retrofitVersion")
implementation("com.google.code.gson:gson:$gsonVersion")
implementation("com.squareup.okhttp3:okhttp:4.9.0")
implementation("com.squareup.okhttp3:logging-interceptor:4.9.0")
implementation("com.squareup.okhttp3:okhttp:$okhttpVersion")
implementation("com.squareup.okhttp3:logging-interceptor:$okhttpVersion")
implementation("com.squareup.retrofit2:converter-gson:$retrofitVersion")
implementation("androidx.core:core-ktx:$coreKtx")
implementation("androidx.activity:activity-ktx:1.8.2")
Expand All @@ -119,4 +129,7 @@ dependencies {

// Image Cropper
implementation("commons-io:commons-io:2.4")

// Conscrypt
implementation("org.conscrypt:conscrypt-android:2.5.1")
}

0 comments on commit 76af5c4

Please sign in to comment.