-
Notifications
You must be signed in to change notification settings - Fork 200
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: - io.ktor:ktor-client-js #438
Comments
A test project would be great. |
here you are: https://github.com/christophsturm/mpp-test
|
I tried the following to capture the metadata but wasn't successful.
The kotlin plugin likes to refer to tasks by name to enhance them, which is brittle and not the "Gradle way". Instead they should do it by a matching condition and configure them during the init phase, so that copying captures the full definition. That may be at play here since we copy to rewrite the dependency versions, but they have a lot of code and it is complex, so I can't reverse engineer the cause at this time. Can you get their developers to help us? |
The variant guide indicates that us copying the attributes should work, but not in this case. Running |
I posted the link to this ticket on the kotlin slack and asked for help, but did not get a reaction. where in the plugin sourcecode would i need to start looking if i want to have a look myself? |
hah, I got it! Looking at the Kotlin plugin's code for I'm doing some extra testing but so far it looks good. |
Verified this also fixes @Vampire's setup-wsdl project where he had this problem, too. I'll cut a release for 0.34, though it may take an hour or two for the jcenter => portal sync. |
pretty cool! |
I see the similar issue..
May be it is unable to resolve for these kinds of bom dependencies _dependencies {
}_ My plugins are
|
@nagkumar What is the exception with |
Thank You I ran it gain now.. everything works fine now.. looks like it is random, I shall further note this and let you know the info log when it happens again.. |
this is probably related to the two closed issues with the same exception, but its still occuring so I'm opening a new issue for it:
this probably happens with all kotlin mpp projects that use ktor-client-js or the kotlin react wrappers (https://github.com/JetBrains/kotlin-wrappers)
the exception is from one of my non open source projects but i can create a test project if needed.
The text was updated successfully, but these errors were encountered: