refreshVersions icon indicating copy to clipboard operation
refreshVersions copied to clipboard

Leave a contextual comment if a dependency is not found in any of the configured repositories

Open LouisCAD opened this issue 3 years ago • 5 comments

This can help see that a dependency has been removed from a repository, which can be helpful to know before the cache becomes stale and Gradle no longer wants to build the project.

LouisCAD avatar Jan 27 '22 10:01 LouisCAD

Curious, how does it handle libraries where EAP/alphas are in a different repository?

Either like https://maven.pkg.jetbrains.space/public/p/ktor/eap/

or https://androidx.dev/

Could it suggest versions from these? Or is this unrelated?

yschimke avatar Jul 28 '22 05:07 yschimke

Versions from different repositories are already supported so long the maven coordinates are the same and the repositories are properly configured from Gradle.

LouisCAD avatar Jul 28 '22 10:07 LouisCAD

OK, so add to gradle first, rather than refresh versions suggesting it. Makes sense.

yschimke avatar Jul 28 '22 10:07 yschimke

refreshVersions looks in all the repositories configured for the module (including the dependencyResolutionManagement ones), and it'll mix versions from different repositories for the availability comments. Even GCS repos are supported.

LouisCAD avatar Jul 28 '22 11:07 LouisCAD

What's the issue here? Is it resolved?

jmfayard avatar Sep 13 '22 21:09 jmfayard