feat: expose kt_defs.bzl via public bzl_library for stardoc (#1626)
diff --git a/BUILD b/BUILD
index e649236..5d007d3 100644
--- a/BUILD
+++ b/BUILD
@@ -7,6 +7,7 @@
"extensions.bzl",
"specs.bzl",
"maven_install.json",
+ "kt_defs.bzl",
])
licenses(["notice"]) # Apache 2.0
@@ -57,6 +58,19 @@
],
)
+bzl_library(
+ name = "implementation-kotlin",
+ srcs = [
+ ":kt_defs.bzl",
+ "//private/rules:implementation",
+ ],
+ visibility = [
+ # Visible so downstream users can document their kt_jvm_export
+ # usage via stardoc (mirrors the java `implementation` target).
+ "//visibility:public",
+ ],
+)
+
alias(
name = "mirror_coursier",
actual = "//scripts:mirror_coursier",