Hello, I have a mixed Java / Kotlin codebase with some *.java files as inputs to a compileKotlin gradle task. I have noticed that the compileKotlin incremental compilation is much slower when there are *.java files changes, compared to when there are only *.kt changes.
My question is, can I remove *.java inputs from compileKotlin tasks? I suppose they might have been added as inputs by mistake.
The kotlin compiler build report tends to just say “Possible cache corruption. Rebuilding.” when there are changed java inputs. Whereas if there are only *.kt files, it prints out “Compile iteration:” with various MembersChanged, SignatureChanged logs.