Skip to content

Commit

Permalink
Revert "Make the compile time classpath use the full transitive compi…
Browse files Browse the repository at this point in the history
…le classpath. Currently, because there's no strict deps mechanism, that means basically use the full transitive closure. This fixes (or works around) but bazelbuild#132"

This reverts commit 2d86189.
  • Loading branch information
IljaKroonen committed Jul 1, 2019
1 parent 279f16d commit 1d4d65e
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).transitive_compile_time_jars
compile_jars = java_common.merge(deps).compile_jars

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

0 comments on commit 1d4d65e

Please sign in to comment.