Lubomir Pisk
10/29/2024, 8:09 PMplugins {
alias(libs.plugins.kotlin.multiplatform)
alias(libs.plugins.kotlin.serialization)
alias(libs.plugins.kotlinx.dataframe)
}
kotlin {
jvm {
compilerOptions {
jvmTarget.set(JvmTarget.JVM_17)
}
}
sourceSets {
jvmMain {
dependencies {
implementation(project(":core:config"))
implementation(project(":core:datetime"))
implementation(project(":core:di"))
implementation(project(":core:format"))
implementation(project(":core:graph"))
implementation(libs.koin.core)
implementation(libs.kotlinx.coroutines)
implementation(libs.kotlinx.dataframe)
implementation(libs.kotlinx.datetime)
}
}
}
}
kotlinx-dataframe = { id = "org.jetbrains.kotlinx.dataframe", version.ref = "dataframe" }
kotlinx-dataframe = { group = "org.jetbrains.kotlinx", name = "dataframe", version.ref = "dataframe" }
Jolan Rensen [JB]
10/30/2024, 12:04 PMsymbol-processor-all
module as a dependency to KSP automatically, but, as you can see here, KSP on multiplatform requires its dependencies to be defined with the add()
function.
This means that adding the following block:
dependencies {
add("kspJvm", "org.jetbrains.kotlinx.dataframe:symbol-processor-all:${libs.versions.dataframe.get()}")
}
will likely solve your issue 🙂
I'll also make an issue to see if we can do this automatically in the future or whether we need to update our docsJolan Rensen [JB]
10/30/2024, 12:06 PMLubomir Pisk
10/30/2024, 6:04 PM