diff --git a/core/network/build.gradle.kts b/core/network/build.gradle.kts index 906c479..0592946 100644 --- a/core/network/build.gradle.kts +++ b/core/network/build.gradle.kts @@ -39,8 +39,8 @@ dependencies { // network implementation(libs.sandwich) - implementation(libs.bundles.retrofit) - testImplementation(libs.okhttp.mockserver) + implementation(libs.bundles.retrofitBundle) + testImplementation(libs.okhttp.mockwebserver) testImplementation(libs.androidx.arch.core.testing) // json parsing diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 5ee8bee..347ccf6 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -68,9 +68,9 @@ hilt-compiler = { module = "com.google.dagger:hilt-compiler", version.ref = "hil hilt-testing = { module = "com.google.dagger:hilt-android-testing", version.ref = "hilt" } sandwich = { module = "com.github.skydoves:sandwich-retrofit", version.ref = "sandwich" } retrofit = { module = "com.squareup.retrofit2:retrofit", version.ref = "retrofit" } -retrofit-kotlinSerialization = { module = "com.squareup.retrofit2:converter-kotlinx-serialization", version.ref = "retrofit" } -okhttp-loggingInterceptor = { module = "com.squareup.okhttp3:logging-interceptor", version.ref = "okHttp" } -okhttp-mockserver = { module = "com.squareup.okhttp3:mockwebserver", version.ref = "okHttp" } +retrofit-kotlin-serialization = { module = "com.squareup.retrofit2:converter-kotlinx-serialization", version.ref = "retrofit" } +okhttp-logging-interceptor = { module = "com.squareup.okhttp3:logging-interceptor", version.ref = "okHttp" } +okhttp-mockwebserver = { module = "com.squareup.okhttp3:mockwebserver", version.ref = "okHttp" } kotlinx-coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "coroutines" } kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "coroutines" } kotlinx-immutable-collection = { group = "org.jetbrains.kotlinx", name = "kotlinx-collections-immutable", version.ref = "kotlinxImmutable" } @@ -106,4 +106,4 @@ hilt-plugin = { id = "com.google.dagger.hilt.android", version.ref = "hilt" } baselineprofile = { id = "androidx.baselineprofile", version.ref = "baselineprofile" } [bundles] -retrofit = ["retrofit", "retrofit-kotlinSerialization", "okhttp-loggingInterceptor"] +retrofitBundle = ["retrofit", "retrofit-kotlin-serialization", "okhttp-logging-interceptor"]