From 53d99e46e6b34d4437f46266cb797a65c0736803 Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Thu, 27 Aug 2020 16:42:03 -0300 Subject: [cashier] don't crash on unexpected network input --- cashier/build.gradle | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'cashier/build.gradle') diff --git a/cashier/build.gradle b/cashier/build.gradle index 916758b..4defd7a 100644 --- a/cashier/build.gradle +++ b/cashier/build.gradle @@ -14,10 +14,13 @@ * GNU Taler; see the file COPYING. If not, see */ -apply plugin: 'com.android.application' -apply plugin: 'kotlin-android' -apply plugin: 'kotlin-android-extensions' -apply plugin: 'androidx.navigation.safeargs.kotlin' +plugins { + id "com.android.application" + id "kotlin-android" + id "kotlin-android-extensions" + id "kotlinx-serialization" + id "androidx.navigation.safeargs.kotlin" +} android { compileSdkVersion 29 @@ -66,8 +69,9 @@ dependencies { implementation "androidx.navigation:navigation-fragment-ktx:$nav_version" implementation "androidx.navigation:navigation-ui-ktx:$nav_version" - // https://github.com/square/okhttp/releases - implementation "com.squareup.okhttp3:okhttp:3.12.12" + implementation "io.ktor:ktor-client:$ktor_version" + implementation "io.ktor:ktor-client-okhttp:$ktor_version" + implementation "io.ktor:ktor-client-serialization-jvm:$ktor_version" testImplementation 'junit:junit:4.13' -- cgit v1.2.3