Skip to content

Commit df55a32

Browse files
committed
Allow runtime_deps to be specified for kt_jvm_proto_library
1 parent 253c24f commit df55a32

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

kt_jvm_grpc.bzl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,9 @@ def kt_jvm_proto_library(
327327
visibility = None,
328328
flavor = None,
329329
deprecation = None,
330-
features = []):
330+
features = [],
331+
runtime_deps = [],
332+
):
331333
"""
332334
This rule accepts any number of proto_library targets in "deps", translates them to Kotlin and
333335
returns the compiled Kotlin.
@@ -355,6 +357,7 @@ def kt_jvm_proto_library(
355357
(for Android usage)
356358
deprecation: Standard attribute
357359
features: Standard attribute
360+
runtime_deps: Standard attribute
358361
"""
359362
if (java_deps != None and len(java_deps) > 0):
360363
java_protos = java_deps
@@ -416,4 +419,5 @@ def kt_jvm_proto_library(
416419
tags = tags,
417420
deprecation = deprecation,
418421
features = features,
422+
runtime_deps = runtime_deps,
419423
)

0 commit comments

Comments
 (0)