Skip to content

Commit

Permalink
fix running kotlin targets (at least under bzlmod?)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmgd committed Mar 13, 2024
1 parent a675511 commit 53a070a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kotlin/internal/jvm/impl.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def _write_launcher_action(ctx, rjars, main_class, jvm_flags):
"""
jvm_flags = " ".join([ctx.expand_location(f, ctx.attr.data) for f in jvm_flags])
template = ctx.attr._java_stub_template.files.to_list()[0]
java_bin_path = ctx.attr._java_runtime[java_common.JavaRuntimeInfo].java_executable_exec_path
java_bin_path = ctx.attr._java_runtime[java_common.JavaRuntimeInfo].java_executable_runfiles_path

if ctx.configuration.coverage_enabled:
jacocorunner = ctx.toolchains[_TOOLCHAIN_TYPE].jacocorunner
Expand Down

0 comments on commit 53a070a

Please sign in to comment.