-
Notifications
You must be signed in to change notification settings - Fork 203
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
Older version listed as update #121
Comments
I think this is a limitation of Maven's version comparison rules and Gradle's implementation of that. The comparator is probably expecting cases like You could bring this up on the Gradle Forum and see what the devs say. Since we're delegating to their resolution rules its a limitation in the dependency management. |
I think that the behavior is correct. "1.2-update1" is probably treated as a pre-release version according to the SemVer spec (http://semver.org/spec/v1.0.0.html) item 4. |
For what it's worth: The Java version scheme, both <=1.8 and >=9, are handling |
Closing as it sounds like we're doing the right thing. If not, then please open a Gradle issue as we are using their comparator. You could test in Maven to see how it behaves to verify. |
When the version of a dependency ends with
-update1
the version without that suffix is listed as update for that.An example for that is (it already has a 1.3 release by now, so you have to ignore that version)
https://repo1.maven.org/maven2/com/jakewharton/auto/value/auto-value-annotations . When you depend on
1.2-update1
the plugin will suggest to update to1.2
.Before the 1.3 release the metadata looked like this:
The text was updated successfully, but these errors were encountered: