This message was deleted.
# community-support
s
This message was deleted.
j
I am comparing
Copy code
0.5.0-SNAPSHOT
0.5.0+1.9.20-dev-5788-SNAPSHOT
I guess it is the same than comparing it without
SNAPSHOT
Copy code
0.5.0
0.5.0+1.9.20-dev-5788
As as the first is a final version and the second has extra data with a separator,
+
, I think the second should be lower, but I am not sure if that is true, a public tool or class to compare versions should great. Additionally, project version in the future will use
Provider<String>
, or is it possible it uses something like
Provider<SomeGradleVersionApi>
, I think this latest one should be better, it would be less flexible, but it would help library authors to publish versions that can be ordered correctly by tools like Renovate or Dependabot, not only Gradle
j
No replacement?
v
It's also always a matter of definition. There are many philosophies out there about version semantics.
If you for example follow the semantic versioning specification, both of the versions you posted are to be treated equal. There is no precedence between those two.
👍 1