We are seeing a similar error as in #207 where required plugin options aren't provided to the compiler plugin by KSP.
Looking at that issue this should be fixed by #270, though it looks like that fix isn't applied to the KspTaskNative task.
The text was updated successfully, but these errors were encountered:
Setting the blockOtherCompilerPlugins = true results in Caused by: java.lang.ClassNotFoundException: com.google.devtools.ksp.processing.KSPLogger exception being thrown. My understanding is, that it removes the symbol-processing-api jar from the compiler's classpath as well.
I'm using the following as a workaround so that compiler options from the native compile task are added to the ksp native task:
tasks.withType<KspTask>().configureEach {
when (this) {
is KspTaskNative -> {
this.compilerPluginOptions.addPluginArgument(
tasks.named<KotlinNativeCompile>(compilation.compileKotlinTaskName).get().compilerPluginOptions
)
}
}
}
We are seeing a similar error as in #207 where required plugin options aren't provided to the compiler plugin by KSP.
Looking at that issue this should be fixed by #270, though it looks like that fix isn't applied to the KspTaskNative task.
The text was updated successfully, but these errors were encountered: