New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to determine the latest version for the following dependencies with Kotlin 2.0.0 #842
Comments
For some reason it wants the "name": "sourcesElements",
"attributes": {
"org.gradle.category": "documentation",
"org.gradle.dependency.bundling": "external",
"org.gradle.docstype": "sources",
"org.gradle.usage": "java-runtime"
}, For some reason the dependency did not include that in their module metadata. I guess Kotlin multi-platform needs the sources and since those are not available in the metadata, it fails? They are included on the repository, though. This is more of a Gradle team question, as module metadata is confusing and the Kotlin tends to do odd things that are inconsistent with the ecosystem. I'm not the one capable of debugging this knot. |
I retested with Gradle 8.7 and Kotlin 2.0.0-RC1. No significant change. Failed to determine the latest version for the following dependencies (use --info for details):
- com.google.devtools.ksp:symbol-processing-api
2.0.0-RC1-1.0.20
- com.squareup:kotlinpoet-ksp
1.16.0
- io.kotest:kotest-assertions-shared
5.8.1
- org.jetbrains.kotlinx:kotlin-deeplearning-api
0.5.2
- org.jetbrains.kotlinx:kotlin-deeplearning-tensorflow
0.5.2 @ben-manes, Do you have a Gradle contact you'd typically reach out to for the sort of help you mention above? I can reference this in the #eap channel of the Kotlin Slack (they are asking for 2.0.0 RC testing feedback there), but I'm wondering if this isn't more of a Gradle than Kotlin issue. |
I don't have one. I have simply been a nuisance for them since early years so interacted with many on their team. If one of their devs feels generous then they'll step in and help. |
When I upgrade my project to Kotlin 2.0.0-Beta4, I get the following from
dependencyUpdates
:Plugin version 0.51.0. Reproduces with Gradle 8.6 and 8.7-rc1.
Reproducer: https://github.com/sdkotlin/sd-kotlin-talks/tree/2363d9a0686164707d1256837cd343df098e51e1
I don't get the errors with Kotlin 1.9.22: https://github.com/sdkotlin/sd-kotlin-talks/tree/a412bc0b6c80436a31dad58f51608c1cd70da170
Here is one of the
--info
details (the rest appear to be similar):The text was updated successfully, but these errors were encountered: