kotlin-compile-testing
kotlin-compile-testing copied to clipboard
KSP compilation does not run if there are no kotlin sources
Just noticed this as we do not run kotlin compilation if there are no kotlin sources, which by-passes KSP alltogether.
I will take a look at it, since KSP does support java, we should be running kotlin compilation even when all sources are in java.
The same also happens with the KAPT plugin (and probably all others as well). In case there are no Kotlin source files, I just add an empty dummy file to trick the K2JVMCompiler.