summaryrefslogtreecommitdiff
path: root/merchant-lib
diff options
context:
space:
mode:
authorTorsten Grote <t@grobox.de>2020-07-22 16:47:05 -0300
committerTorsten Grote <t@grobox.de>2020-07-22 16:47:05 -0300
commitb9d7d6edb7cc12e5238168c4446a28c0ae98c729 (patch)
treed462a3c4487a017956e684028ecc5ae5b69919a1 /merchant-lib
parent4bd0b7a75344b08cf5f84c360a28fc3f575b8501 (diff)
downloadtaler-android-b9d7d6edb7cc12e5238168c4446a28c0ae98c729.tar.gz
taler-android-b9d7d6edb7cc12e5238168c4446a28c0ae98c729.tar.bz2
taler-android-b9d7d6edb7cc12e5238168c4446a28c0ae98c729.zip
[common] also support multi-platform serialization/deserialization
Diffstat (limited to 'merchant-lib')
-rw-r--r--merchant-lib/build.gradle14
1 files changed, 8 insertions, 6 deletions
diff --git a/merchant-lib/build.gradle b/merchant-lib/build.gradle
index 08da35d..93e2d4d 100644
--- a/merchant-lib/build.gradle
+++ b/merchant-lib/build.gradle
@@ -15,13 +15,12 @@
*/
plugins {
- id 'org.jetbrains.kotlin.plugin.serialization' version "$kotlin_version"
+ id 'com.android.library'
+ id 'kotlin-android'
+ id 'kotlin-android-extensions'
+ id 'kotlinx-serialization'
}
-apply plugin: 'com.android.library'
-apply plugin: 'kotlin-android'
-apply plugin: 'kotlin-android-extensions'
-
android {
compileSdkVersion 29
//noinspection GradleDependency
@@ -46,6 +45,8 @@ android {
}
dependencies {
+ implementation project(":taler-kotlin-common")
+
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
def ktor_version = "1.3.2"
@@ -54,5 +55,6 @@ dependencies {
implementation "io.ktor:ktor-client-serialization-jvm:$ktor_version"
testImplementation 'junit:junit:4.13'
- testApi "io.ktor:ktor-client-mock-jvm:$ktor_version"
+ testImplementation "io.ktor:ktor-client-mock-jvm:$ktor_version"
+ testImplementation "io.ktor:ktor-client-logging-jvm:$ktor_version"
}