Skip to content
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

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

Open
LouisCAD opened this issue Jan 27, 2022 · 5 comments

Comments

@LouisCAD
Copy link
Member

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.

@yschimke
Copy link
Contributor

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?

@LouisCAD
Copy link
Member Author

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

@yschimke
Copy link
Contributor

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

@LouisCAD
Copy link
Member Author

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.

@jmfayard
Copy link
Member

What's the issue here?
Is it resolved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants