Closed Jolanrensen closed 7 months ago
I updated the KSP version to 1.9.22 ahead of the version bumps.
Last update of KSP in https://github.com/Kotlin/dataframe/pull/571 caused KSP to be unaware of @DataSchema
s generated by dataframes {}
tasks.
This is done by modifying the creation of each individual generateDataFrameX
task. Those tasks already added their new src directory to the kotlin sourceSets. While this used to be enough for KSP, it isn't anymore, so now the source is added to the relevant ksp task.
For instance: "build/generated/dataframe/main/kotlin" will be added to kspKotlin
and "build/generated/dataframe/test/kotlin" will be added to kspTestKotlin
.
Fixes https://github.com/Kotlin/dataframe/pull/571 further.
With
kotlin.dataframe.add.ksp=false
, the user-specified KSP still needs to depend on symbol-processor-all like before. This PR configures KSP regardless of the add.ksp setting.