We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ece4ea commit d54801bCopy full SHA for d54801b
src/main/starlark/core/compile/cli/compile.bzl
@@ -29,7 +29,11 @@ def compile_kotlin_for_jvm(
29
],
30
)
31
32
- args = actions.args().add("-d", class_jar)
+ # Set the stdlib for the compiler to run on.
33
+ args = actions.args().add("--wrapper_script_flag=--main_advice_classpath=%s" % (
34
+ ":".join([f.path for f in toolchain_info.kotlin_stdlib.transitive_compile_time_jars.to_list()])
35
+ ))
36
+ args.add("-d", class_jar)
37
args.add("-jdk-home", toolchain_info.java_runtime.java_home)
38
args.add("-jvm-target", toolchain_info.jvm_target)
39
args.add("-no-stdlib")
0 commit comments