summaryrefslogtreecommitdiff
path: root/taler-kotlin-common/build.gradle
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 /taler-kotlin-common/build.gradle
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 'taler-kotlin-common/build.gradle')
-rw-r--r--taler-kotlin-common/build.gradle10
1 files changed, 7 insertions, 3 deletions
diff --git a/taler-kotlin-common/build.gradle b/taler-kotlin-common/build.gradle
index 573a329..df4b65f 100644
--- a/taler-kotlin-common/build.gradle
+++ b/taler-kotlin-common/build.gradle
@@ -14,9 +14,12 @@
* GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
*/
-apply plugin: 'com.android.library'
-apply plugin: 'kotlin-android'
-apply plugin: 'kotlin-android-extensions'
+plugins {
+ id 'com.android.library'
+ id 'kotlin-android'
+ id 'kotlin-android-extensions'
+ id 'kotlinx-serialization'
+}
android {
compileSdkVersion 29
@@ -59,6 +62,7 @@ dependencies {
implementation 'com.google.zxing:core:3.4.0' // needs minSdkVersion 24+
// JSON parsing and serialization
+ implementation "org.jetbrains.kotlinx:kotlinx-serialization-runtime:0.20.0"
implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.10.2"
lintChecks 'com.github.thirdegg:lint-rules:0.0.4-alpha'