update ktor dependencies + logging level change

This commit is contained in:
John O'Reilly 2020-08-30 20:44:53 +01:00
parent 206a876be9
commit 98c9c3e0ff
2 changed files with 7 additions and 7 deletions

View file

@ -96,21 +96,21 @@ kotlin {
val iOSMain by getting {
dependencies {
implementation("io.ktor:ktor-client-cio:${Versions.ktor}")
implementation("io.ktor:ktor-client-ios:${Versions.ktor}")
implementation("com.squareup.sqldelight:native-driver:${Versions.sqlDelight}")
}
}
val watchMain by getting {
dependencies {
implementation("io.ktor:ktor-client-cio:${Versions.ktor}")
implementation("io.ktor:ktor-client-ios:${Versions.ktor}")
implementation("com.squareup.sqldelight:native-driver:${Versions.sqlDelight}")
}
}
val macOSMain by getting {
dependencies {
implementation("io.ktor:ktor-client-ios:${Versions.ktor}")
implementation("io.ktor:ktor-client-cio:${Versions.ktor}")
implementation("com.squareup.sqldelight:native-driver-macosx64:${Versions.sqlDelight}")
}
}

View file

@ -34,10 +34,10 @@ class PeopleInSpaceApi {
install(JsonFeature) {
serializer = KotlinxSerializer(nonStrictJson)
}
// install(Logging) {
// logger = Logger.DEFAULT
// level = LogLevel.ALL
// }
install(Logging) {
logger = Logger.DEFAULT
level = LogLevel.INFO
}
}
}