From de52e38a05fc6df78e252077fdd0111afebb433b Mon Sep 17 00:00:00 2001 From: Alex Leigh Date: Thu, 11 Jan 2024 17:35:13 -0800 Subject: [PATCH] Allow runtime_deps to be specified for kt_jvm_proto_library --- kt_jvm_grpc.bzl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kt_jvm_grpc.bzl b/kt_jvm_grpc.bzl index af649a54..8310ec6d 100644 --- a/kt_jvm_grpc.bzl +++ b/kt_jvm_grpc.bzl @@ -327,7 +327,8 @@ def kt_jvm_proto_library( visibility = None, flavor = None, deprecation = None, - features = []): + features = [], + runtime_deps = []): """ This rule accepts any number of proto_library targets in "deps", translates them to Kotlin and returns the compiled Kotlin. @@ -355,6 +356,7 @@ def kt_jvm_proto_library( (for Android usage) deprecation: Standard attribute features: Standard attribute + runtime_deps: Standard attribute """ if (java_deps != None and len(java_deps) > 0): java_protos = java_deps @@ -416,4 +418,5 @@ def kt_jvm_proto_library( tags = tags, deprecation = deprecation, features = features, + runtime_deps = runtime_deps, )