diff --git a/common.bazelrc b/common.bazelrc index dd2e35d667c3..34dabd091a9a 100644 --- a/common.bazelrc +++ b/common.bazelrc @@ -109,6 +109,10 @@ build:windows --@rules_kotlin//kotlin/settings:jvm_emit_jdeps=False # Prune transitive deps to match jvm_library behavior and avoid classpath conflicts common --@rules_kotlin//kotlin/settings:experimental_prune_transitive_deps=True +# Force ijar ABIs instead of turbine source-level header jars, effective when compiling with upstream rules_kotlin +# Turbine omits synthetic bridge methods, while ijar (of the full javac output) keeps the bridges +build --nojava_header_compilation + # https://bazel.build/docs/bazel-and-java#config-build-tools-java # A second pair of JDK and JVM used to build and execute tools, which are used in the build process, but are not in the build results. # That JDK and JVM are controlled using --tool_java_language_version and --tool_java_runtime_version