Hello i'm gottingthe following warning, Please adv...
# multiplatform
r
Hello i'm gottingthe following warning, Please advise. Many thanks > Configure project :composeApp The 'ksp' configuration is deprecated in Kotlin Multiplatform projects. Please use target-specific configurations like 'kspJvm' instead. ksp-2.0.20-1.0.24 is too old for kotlin-2.0.21. Please upgrade ksp or downgrade kotlin-gradle-plugin to 2.0.20.
d
As the first warning tells you, you should use
target-specific configurations like 'kspJvm' instead
. Meaning instead of using
ksp(...)
you should use
Copy code
dependencies {
    kspCommonMainMetadata(libs.your.dependency)
    add("kspWasmJs", libs.your.dependency)
    add("kspJs", libs.your.dependency)
    ...
}
The second warning is telling you to upgrade the ksp version to
ksp-2.0.21-...
.
👀 1
👍 1
158 Views