[J2KT] Generate header files for all J2KT input including APT generated code.
For this we need to use source_jars output of javac instead of the source inputs of j2kt_library.
@@ -18,7 +18,8 @@ def _j2kt_jvm_import_impl(ctx):
J2ktInfo(
_private_ = struct(
java_info = ctx.attr.jar[JavaInfo],
- java_srcs = depset(),
+ transpile_header_out = [],
+ j2kt_exports = depset(),
),
),
] + kt_runtime_java_infos
@@ -30,7 +31,8 @@ def _j2kt_native_import_impl(ctx):
J2ktInfo(
_private_ = struct(
java_info = ctx.attr.jar[JavaInfo],
- java_srcs = depset(),
+ transpile_header_out = [],
+ j2kt_exports = depset(),
),
),
] + kt_native_infos
