Compilation error with KSP
Hello, I'm facing this particular error when compiling my project and its ksp subproject:
The root project has only two main dependencies:
7 Replies
Output of
gradle dependencyInsight --dependency kotlinx-datetime --configuration commonMainCompileOnlyDependenciesMetadata
:
Output of gradle ksp:dependencyInsight --dependency kotlinx-datetime --configuration commonMainCompileOnlyDependenciesMetadata
(subproject):
Downgrading kotlinx-datetime
to 0.5.0 & 0.4.0 (adding a dependency on datetime and excluding it from both of the kord snapshots) does not seem to be of any help either.
The build file: https://pastebin.com/YWfQGTX7
Can someone please help me?
I'm not sure about where to begin debugging the root of the issue
Upgrading to Kotlin 2.0 does not help.
Excluding the ksp
subproject from compilation results in the root project failing with the same error.
Any ideas?i'm sorry but i don't have any good idea where to start with that
hm, there haven't been any changes to the native snapshots recently right?
see commits on the feature/native branch
here's the minimal reproducible project: https://github.com/vyfor/kord-test
CI fails on both Linux and Windows with the same error, so it's likely an issue with Kord itself.
i've found the issue, kord builds just fine whereas kordx.emoji fails with the error above.
kordx.emoji seems to rely on datetime indirectly through kord. i think the latest build of
kordx.emoji(mpp)
might not be using the most recent snapshot of kord(native)
, i could be wrong.GitHub
Build fails on Kotlin/Native · Issue #25 · kordlib/kordx.emoji
Adding dev.kord.x:emoji:feature-mpp-SNAPSHOT as a dependency leads to a failure during build, as seen here with the following error: e: KLIB resolver: Could not find "org.jetbrains.kotlinx:kot...