Skip to content

Commit

Permalink
Make the compile time classpath use the full transitive compile class…
Browse files Browse the repository at this point in the history
…path. Currently, because there's no strict deps mechanism, that means basically use the full transitive closure. This fixes (or works around) but bazelbuild#132
  • Loading branch information
jongerrish authored and cgruber committed Jun 12, 2019
1 parent 507924a commit 9fb2f33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kotlin/internal/jvm/compile.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def kt_jvm_compile_action(ctx, rule_kind, output_jar):
# TODO extract and move this into common. Need to make it generic first.
friends = getattr(ctx.attr, "friends", [])
deps = [d[JavaInfo] for d in friends + ctx.attr.deps] + [toolchain.jvm_stdlibs]
compile_jars = java_common.merge(deps).compile_jars
compile_jars = java_common.merge(deps).transitive_compile_time_jars

if len(friends) == 0:
module_name = _utils.derive_module_name(ctx)
Expand Down

0 comments on commit 9fb2f33

Please sign in to comment.