Skip to content

Commit

Permalink
Merge pull request #6 from cgruber/various_fixes
Browse files Browse the repository at this point in the history
Ensure that the runtime deps pass along their javainfo if present
  • Loading branch information
cgruber authored Jun 12, 2019
2 parents fc3c0db + 9198f14 commit 7cb4645
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kotlin/internal/jvm/impl.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ def kt_jvm_import_impl(ctx):
DefaultInfo(files = depset(jars)),
JavaInfo(
output_jar = jars[0],
compile_jar = jars[0],
source_jar = source_jar,
runtime_deps = ctx.attr.runtime_deps,
source_jars = [source_jar] if bool(source_jar) else [],
runtime_deps = [dep[JavaInfo] for dep in ctx.attr.runtime_deps if JavaInfo in dep],
use_ijar = False,
neverlink = getattr(ctx.attr, "neverlink", False),
),
kt_info,
Expand Down

0 comments on commit 7cb4645

Please sign in to comment.