for monorepo when compiling with rules_kotlin force ijar-produced java ABI to match the rules_jvm logic (MRI-4417)

-- this does not seem to affect build times much (full rebuild runs even a bit faster), but it does make a differenct whether non-private bridge methods are retained in ABI content. This flags affects only compilation with upsteam rules_kotlin

GitOrigin-RevId: b61b65b6c126372a54f08fe65905dd311a6ee29d
This commit is contained in:
Eugene Zhuravlev
2026-06-15 21:02:43 +00:00
committed by intellij-monorepo-bot
parent b8a042e663
commit c7051ff77f
+4
View File
@@ -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