From 346a50a3605b73f2da778894e480ab01a2beb8e5 Mon Sep 17 00:00:00 2001 From: andrekir Date: Sun, 11 Sep 2022 23:50:07 -0300 Subject: [PATCH] use kotlin protobuf lib --- app/build.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index 1e17feec..23d0f5d7 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -114,6 +114,8 @@ protobuf { // use the smaller android version of the library //option "lite" } + kotlin { + } } } } @@ -162,7 +164,7 @@ dependencies { implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines_version" // For now I'm not using javalite, because I want JSON printing - implementation 'com.google.protobuf:protobuf-java:3.21.1' + implementation 'com.google.protobuf:protobuf-kotlin:3.21.5' // For UART access // implementation 'com.google.android.things:androidthings:1.0'