Skip to content

Commit 6769652

Browse files
authored
Merge pull request #550 from jhnj/johan/scala-import-return-defaultinfo
Add DefaultInfo provider to outputs of scala_import
2 parents 5e61d4e + 1e02ee9 commit 6769652

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scala/scala_import.bzl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ def _scala_import_impl(ctx):
2222
),
2323
jars_to_labels = jars2labels,
2424
providers = [
25-
_create_provider(current_jars, transitive_runtime_jars, jars, exports)
25+
_create_provider(current_jars, transitive_runtime_jars, jars,
26+
exports),
27+
DefaultInfo(files = current_jars,
28+
),
2629
],
2730
)
2831

0 commit comments

Comments
 (0)