summaryrefslogtreecommitdiff
path: root/cashier/build.gradle
diff options
context:
space:
mode:
authorTorsten Grote <t@grobox.de>2020-08-27 16:42:03 -0300
committerTorsten Grote <t@grobox.de>2020-08-27 16:42:03 -0300
commit53d99e46e6b34d4437f46266cb797a65c0736803 (patch)
tree23f21d022abea280132e3440b3825a71483c7bd2 /cashier/build.gradle
parented3f86481a71517e7bf6ffa46dc8d160b508ec38 (diff)
downloadtaler-android-53d99e46e6b34d4437f46266cb797a65c0736803.tar.gz
taler-android-53d99e46e6b34d4437f46266cb797a65c0736803.tar.bz2
taler-android-53d99e46e6b34d4437f46266cb797a65c0736803.zip
[cashier] don't crash on unexpected network input
Diffstat (limited to 'cashier/build.gradle')
-rw-r--r--cashier/build.gradle16
1 files changed, 10 insertions, 6 deletions
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 <http://www.gnu.org/licenses/>
*/
-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'