ZacSweers/kotlin-compile-testing

No compile output generated when using ksp

rossbacher opened this issue · 1 comments

When using ksp 1 and setting languageVersion to 1.9 ksp output sources are generated but no compile output (in the classes folder )is generated.

Thus subsequent java compilation which requires the compiled Kotlin classes as input to the classpath fails.

The same tests (it's using xprocessing to support both ksp and kapt) passes with the kapt annotation processor and kapt4 enabled.

Of course just after writing this I stumbled accross #197 (comment) and setting kspWithCompilation to true fixes this issue. Oddly enough this was not required when using com.github.tschuchortdev:kotlin-compile-testing-ksp:1.5 which we migrated from.