Skip to content

Commit de52e38

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

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

kt_jvm_grpc.bzl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,8 @@ def kt_jvm_proto_library(
327327
visibility = None,
328328
flavor = None,
329329
deprecation = None,
330-
features = []):
330+
features = [],
331+
runtime_deps = []):
331332
"""
332333
This rule accepts any number of proto_library targets in "deps", translates them to Kotlin and
333334
returns the compiled Kotlin.
@@ -355,6 +356,7 @@ def kt_jvm_proto_library(
355356
(for Android usage)
356357
deprecation: Standard attribute
357358
features: Standard attribute
359+
runtime_deps: Standard attribute
358360
"""
359361
if (java_deps != None and len(java_deps) > 0):
360362
java_protos = java_deps
@@ -416,4 +418,5 @@ def kt_jvm_proto_library(
416418
tags = tags,
417419
deprecation = deprecation,
418420
features = features,
421+
runtime_deps = runtime_deps,
419422
)

0 commit comments

Comments
 (0)