ben-manes/gradle-versions-plugin

Plugin is downgrading versions

jdelga opened this issue · 1 comments

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

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.