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

Plugin is downgrading versions #847

Open
jdelga opened this issue Mar 11, 2024 · 1 comment
Open

Plugin is downgrading versions #847

jdelga opened this issue Mar 11, 2024 · 1 comment

Comments

@jdelga
Copy link

jdelga commented Mar 11, 2024

Plugin detects some older versions as the latest

com.google.android.material:material:1.11.0 which "exceeds" version and expects latest version 1.7.0: https://mvnrepository.com/artifact/com.google.android.material/material

Captura de pantalla 2024-03-11 a las 9 43 49

Also happening with com.squareup.okhttp3:okhttp-tls:4.12.0 to 4.9.3: https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp-tls

Captura de pantalla 2024-03-11 a las 9 50 54

@ben-manes
Copy link
Owner

The plugin uses your project repositories. Sometimes there are other plugins or build configuration that constrains the resolution, such as a resolution strategy, particularly the android plugin can have odd behavior (#798 (comment)). If you try it in a java-library it may work, but the android team is uninterested in fixing that misconfiguration.

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

No branches or pull requests

2 participants