diff --git a/kotlin/internal/jvm/android.bzl b/kotlin/internal/jvm/android.bzl index 4843212bc..6d537a753 100644 --- a/kotlin/internal/jvm/android.bzl +++ b/kotlin/internal/jvm/android.bzl @@ -28,6 +28,7 @@ def _kt_android_artifact( kotlinc_opts = None, javac_opts = None, enable_data_binding = False, + tags = [], **kwargs): """Delegates Android related build attributes to the native rules but uses the Kotlin builder to compile Java and Kotlin srcs. Returns a sequence of labels that a wrapping macro should export. @@ -44,6 +45,7 @@ def _kt_android_artifact( exports = base_deps, deps = deps if enable_data_binding else [], enable_data_binding = enable_data_binding, + tags = tags, **kwargs ) _kt_jvm_library( @@ -57,6 +59,7 @@ def _kt_android_artifact( visibility = ["//visibility:private"], kotlinc_opts = kotlinc_opts, javac_opts = javac_opts, + tags = tags, ) return [base_name, kt_name]