Skip to content

Commit fe6589f

Browse files
authored
[bazel-bsp-aspect] extract more generated jars (#1046)
1 parent ad7990e commit fe6589f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

kotlin/internal/defs.bzl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ KtJvmInfo = provider(
3636
"transitive_compile_time_jars": "Returns the transitive set of Jars required to build the target. [intellij-aspect]",
3737
"transitive_source_jars": "Returns the Jars containing source files of the current target and all of its transitive dependencies. [intellij-aspect]",
3838
"annotation_processing": "Generated annotation processing jars. [intellij-aspect]",
39+
"additional_generated_source_jars": "Returns additional Jars containing generated source files from kapt, ksp, etc. [bazel-bsp-aspect]",
40+
"all_output_jars": "Returns all the output Jars produced by this rule. [bazel-bsp-aspect]",
3941
},
4042
)
4143

kotlin/internal/jvm/compile.bzl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,8 @@ def kt_jvm_produce_jar_actions(ctx, rule_kind):
633633
transitive_compile_time_jars = java_info.transitive_compile_time_jars,
634634
transitive_source_jars = java_info.transitive_source_jars,
635635
annotation_processing = annotation_processing,
636+
additional_generated_source_jars = generated_src_jars,
637+
all_output_jars = output_jars,
636638
),
637639
)
638640

0 commit comments

Comments
 (0)