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.hfhbd
06/18/2026, 5:53 PMkotlin.compiler.runViaBuildToolsApi=truetapchicoma
06/18/2026, 5:55 PMhfhbd
06/18/2026, 5:56 PMtapchicoma
06/18/2026, 5:56 PMhfhbd
06/18/2026, 6:00 PMtapchicoma
06/18/2026, 6:01 PMhfhbd
06/18/2026, 6:01 PMtapchicoma
06/18/2026, 6:02 PMhfhbd
06/18/2026, 6:04 PMtapchicoma
06/18/2026, 6:05 PMtapchicoma
06/18/2026, 6:06 PMhfhbd
06/18/2026, 6:07 PMkotlin.compiler.runViaBuildToolsApi deprecated property is used in your build.
Solutions:
◦ It is unsupported, please stop using it.
◦ Kotlin Gradle plugin has run JVM compilations using the Build Tools API by default since Kotlin 2.3.20. The legacy mode is deprecated and will be removed in Kotlin 2.5.0. Please create an issue if something is not working correctly when the Build Tools API is active: https://kotl.in/issue
w: ⚠️ Skipping the Compiler Reference Index data generation in 'oauth2-runtime' (':oauth2-runtime')
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.
And the runViaBuildToolsApi is also deprecatedtapchicoma
06/18/2026, 6:09 PMtapchicoma
06/19/2026, 11:19 AMtapchicoma
10/08/2026, 4:38 PM