Skip to content

Commit

Permalink
Code cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
nowakweronika committed Mar 14, 2024
1 parent c8dd74d commit 23c9566
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 2 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ junit = "4.13.2"
junitBom = "5.10.1"
junitVersion = "1.1.5"
koin = "3.5.3"
kotlinLoggingJvm = "5.1.0"
kotlinxCoroutines = "1.8.0"
kotlinxDatetime = "0.4.1"
kotlinxDatetimeVersion = "0.4.1"
Expand Down Expand Up @@ -100,6 +101,7 @@ koin-test-junit = { group = "io.insert-koin", name = "koin-test-junit4", version
koin-android-test = { group = "io.insert-koin", name = "koin-android-test", version.ref = "koin" }
koin-android = { group = "io.insert-koin", name = "koin-android", version.ref = "koin" }
koin-android-compose = { group = "io.insert-koin", name = "koin-androidx-compose", version.ref = "koin" }
kotlin-logging-jvm = { module = "io.github.oshai:kotlin-logging-jvm", version.ref = "kotlinLoggingJvm" }
kotlinx-datetime = { module = "org.jetbrains.kotlinx:kotlinx-datetime", version.ref = "kotlinxDatetimeVersion" }
kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "kotlinxSerializationJsonVersion" }
ktlint-rule-engine-core = { module = "com.pinterest.ktlint:ktlint-rule-engine-core", version.ref = "ktlintRuleEngineCore" }
Expand Down
2 changes: 1 addition & 1 deletion mock-web-server/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies {
implementation(libs.bundles.okhttp)
implementation(libs.bundles.mock)
implementation(libs.bundles.strikt)
implementation("io.github.oshai:kotlin-logging-jvm:5.1.0")
implementation(libs.kotlin.logging.jvm)

testImplementation(libs.junit)
}
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@ class MockDispatcher : Dispatcher() {
return runMocks(mockRequest)
} catch (e: Throwable) {
errors.add(e)
logger.warn {
TAG + e.message!!
}
logger.warn { TAG + e.message!! }
return MockResponse().setResponseCode(404)
}
}
Expand Down

0 comments on commit 23c9566

Please sign in to comment.