From 3bd90153d94518d5bb643192b9d2386f14f06820 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20To=CC=82rres?= Date: Sat, 5 Jun 2021 15:56:11 -0300 Subject: [PATCH] build: generate kotlin grpc stubs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pedro Tò‚rres --- api/pom.xml | 45 ++++++++++++++++++++++++++++++++++++++++++++- pom.xml | 9 ++++++--- 2 files changed, 50 insertions(+), 4 deletions(-) diff --git a/api/pom.xml b/api/pom.xml index 9cf734746..b9447548f 100644 --- a/api/pom.xml +++ b/api/pom.xml @@ -27,12 +27,24 @@ ${grpc.version} + + io.grpc + grpc-kotlin-stub + ${grpc-kotlin.version} + + com.google.protobuf protobuf-java ${protobuf.version} + + org.jetbrains.kotlinx + kotlinx-coroutines-core + ${kotlin-coroutines.version} + + javax.annotation javax.annotation-api @@ -46,7 +58,7 @@ kr.motd.maven os-maven-plugin - 1.5.0.Final + 1.6.2 @@ -58,6 +70,16 @@ com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier} grpc-java io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier} + + + grpc-kotlin + io.grpc + protoc-gen-grpc-kotlin + ${grpc-kotlin.version} + jdk7 + io.grpc.kotlin.generator.GeneratorRunner + + true true @@ -65,6 +87,7 @@ + compile compile compile-custom @@ -72,6 +95,26 @@ + + + org.jetbrains.kotlin + kotlin-maven-plugin + ${kotlin.version} + + + compile + + compile + + + + test-compile + + test-compile + + + + diff --git a/pom.xml b/pom.xml index 220d43587..981c8e360 100644 --- a/pom.xml +++ b/pom.xml @@ -27,10 +27,13 @@ 1.6.3 3.1.6 8.18 - 1.22.1 - 26.0-android + 1.36.0 + 1.1.0 + 30.0-android 4.13.1 - 3.9.1 + 1.3.61 + 1.3.3 + 3.12.0 3.1.0 1.7.26 1.15.3