thread all deps through android_library before compiling kotlin
diff --git a/kotlin/internal/jvm/android.bzl b/kotlin/internal/jvm/android.bzl
index 2ec9398..4d47bd6 100644
--- a/kotlin/internal/jvm/android.bzl
+++ b/kotlin/internal/jvm/android.bzl
@@ -23,15 +23,18 @@
base_name = name + "_base"
kt_name = name + "_kt"
+ base_deps = deps + ["@io_bazel_rules_kotlin//kotlin/internal/jvm:android_sdk"]
+
native.android_library(
name = base_name,
visibility = ["//visibility:private"],
+ deps = base_deps,
**kwargs
)
_kt_jvm_library(
name = kt_name,
srcs = srcs,
- deps = deps + ["@io_bazel_rules_kotlin//kotlin/internal/jvm:android_sdk", base_name],
+ deps = base_deps + [base_name],
plugins = plugins,
visibility = ["//visibility:private"],
)