question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Handle non-jar / metadata-only artifacts

See original GitHub issue

In regards to com.github.ajalt.clikt:clikt, this is because we don’t handle non-jar dependencies yet. This dependency is metadata only, so an extension is applied during resolution. When we create our dependency query, we are not applying the classifier and extension. This causes a failure because Gradle is looking for a jar and fails.

I did find where to extract this information in #224 but never got around to adding it into the query. It’s probably very simple if you’d like to give it a shot. It should just take a little formatting magic in the query string.

_Originally posted by @ben-manes in https://github.com/ben-manes/gradle-versions-plugin/issues/334#issuecomment-688649827_

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:19 (17 by maintainers)

github_iconTop GitHub Comments

1reaction
ben-manescommented, Sep 13, 2020

Okay, that did it. So I’ll just keep any super configuration’s external dependency that belongs to the group org.jetbrains.kotlin and both of your projects resolve. Hopefully that’s good enough for me to be inactive for another year. 😛

1reaction
sschuberthcommented, Sep 13, 2020

JCenter proxies explicit versions to Central, but not metadata queries, and can provide stale results from its cache (e.g. + resolves only on jcenter). Since that dependency is on Central only, they don’t perform the full proxying.

I’ve hijacked this somewhat related ticket, let’s see if there’s a reaction from JFrog.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Three artifacts to manage your metadata and reference data ...
Three artifacts to manage your metadata and reference data, presented by George Firican. 119 views 1 year ago.
Read more >
Osgi in Action: Creating Modular Applications in Java [1&nbsp
Lots of bundles mean you have lots of artifacts that are versioning independently, creating lots of dependencies and configurations to manage.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found