tapchicoma
06/18/2026, 5:33 PMkotlin.compiler.generateCompilerRefIndex=true in gradle.properties
◦ Maven - incremental compilation is required, so enable both project properties in `pom.xml`:
<properties>
...
<kotlin.compiler.generateCompilerRefIndex>true</kotlin.compiler.generateCompilerRefIndex>
<kotlin.compiler.incremental>true</kotlin.compiler.incremental>
</properties>
3. Re-build the project (e.g. ./gradlew assemble --rerun-tasks so the compileKotlin tasks re-run and produce CRI artifacts).
4. Try Find Usages / Type Hierarchy in IDEA. You can sanity-check module status via Help → Diagnostic Tools → Kotlin CRI Diagnostics.
kodee loving We'd love feedback on correctness and on what kind of performance improvement you see on your real projects - drop a comment here or file an issue on YouTrack.
Slack ConversationPHondogo
06/19/2026, 9:11 AMw: ⚠️ Skipping the Compiler Reference Index data generation in 'my.app' (':my.app')
Compiler Reference Index data can be generated only when compilation is performed via Build Tools API.
Solution:
Please set `kotlin.compiler.runViaBuildToolsApi=true` to enable compilation via Build Tools API.
If I add kotlin.compiler.runViaBuildToolsApi=true then got warning that this setting is Deprecated (enabled by default for JVM)
I guess for KMP project it is not enabled for targets other than JVM. But then how to set it only for non JVM targets to not getting warnings fo JVM?tapchicoma
06/19/2026, 10:20 AMtapchicoma
06/19/2026, 11:19 AM