refreshVersions
refreshVersions copied to clipboard
Leave a contextual comment if a dependency is not found in any of the configured repositories
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.
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?
Versions from different repositories are already supported so long the maven coordinates are the same and the repositories are properly configured from Gradle.
OK, so add to gradle first, rather than refresh versions suggesting it. Makes sense.
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.
What's the issue here? Is it resolved?