Skip to content

Commit

Permalink
Migrate usages deprecated JavaInfo fields
Browse files Browse the repository at this point in the history
transitive_deps was an alias for transitive_compile_time_jars transitive_runtime_deps was an alias for transitive_runtime_jars

The fields were deprecated in 2021, and are dropped in Bazel@HEAD

Fixes bazelbuild#1003
  • Loading branch information
hvadehra authored Aug 11, 2023
1 parent 45cae78 commit 5633d28
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 @@ -261,7 +261,7 @@ def _run_merge_jdeps_action(ctx, toolchains, jdeps, outputs, deps):
)

# For sandboxing to work, and for this action to be deterministic, the compile jars need to be passed as inputs
inputs = depset(jdeps, transitive = [depset([], transitive = [dep.transitive_deps for dep in deps])])
inputs = depset(jdeps, transitive = [depset([], transitive = [dep.transitive_compile_time_jars for dep in deps])])

ctx.actions.run(
mnemonic = mnemonic,
Expand Down

0 comments on commit 5633d28

Please sign in to comment.