Pulling Fuel from Central complains about missing Result, due to missing version
See original GitHub issueBug Report
Description
When using central and using Fuel this way:
repositories {
mavenCentral()
}
dependencies {
implementation("com.github.kittinunf.fuel:fuel:+")
implementation("com.github.kittinunf.fuel:fuel-coroutines:+")
implementation("com.github.kittinunf.fuel:fuel-gson:+")
}
Gradle complains:
* What went wrong:
Execution failed for task ':compileKotlin'.
> Could not resolve all files for configuration ':compileClasspath'.
> Could not find com.github.kittinunf.result:result:2.2.0.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/com/github/kittinunf/result/result/2.2.0/result-2.2.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > com.github.kittinunf.fuel:fuel:2.2.3
This is caused by the fact that the first version of Result published on Central (thanks to kittinunf/result#70) is 3.0.1.
Proposed solution
I suggest tackling this in two rather straightforwards steps:
- Make the current Fuel depend on Result 3.0.1
- Release a new version of Fuel
Since Central enforces a no-retract policy, it’s impossible to change the current version to point to Result 3.0.1, a new release is thus necessary.
Alternate solution
Manually releasing result 2.2.0 on Central would work as well, but that requires manual intervention, and thus precious human time.
Temporary workaround
Who is currently using Fuel via Central can work around the issue by enforcing a compile-time dependency on Result (warning: it taints the dependency tree)
dependencies {
implementation("com.github.kittinunf.result:result:3.0.1")
}
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Lost or Stolen Credit, ATM, and Debit Cards | Consumer Advice
Confirm that you reported the fraudulent charge or withdrawal. Include the date and time when you noticed your card was missing, and when...
Read more >One of three missing Hart children is found dead after plunge ...
The remains of a missing Hart family child is recovered in waters along the California coast, three weeks after the family's SUV was...
Read more >Missing fuel cap leads to missing fuel - General Aviation News
After landing, we inspected the aircraft and discovered our right tank fuel cap missing. It was present during our preflight.
Read more >1904.5 - Determination of work-relatedness.
The injury or illness is solely the result of an employee doing personal tasks (unrelated to their employment) at the establishment outside of...
Read more >Family Assistance Questions - TN.gov
Getting a SNAP (Food Stamps) or TANF (Families First) application ... If you missed your appointment and were asked to reschedule, please call...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@nfrankel Let me help you out by manually pushing 2.2.0 to the maven central 🙇
I think this should solve all of the problem regarding to version on
mavenCentral
. 🙇 🙇 Feel free to re-open if this doesn’t fix your issue. Otherwise, please let me close this. 😃