My build uses a semantic version number scheme, e.g.
1.1.1-beta1 < 1.1.1-beta2 < 1.1.1-rc1 < 1.1.1 < 1.1.2-beta1
and so on
Version numbers are generated by the build after a project passes some checks and the beta/rc qualifier is used to denote a certain level of maturity, e.g. pass unit test so create a new beta, pass performance test so create an rc etc.
In certain circumstances I want to only retrieve dependencies that have reached a certain level of maturity, so for example I want the latest rc from 1.1+. This is kind of like latest.release/latest.milestone in ivy terms but is probably, more specifically, a custom ‘LatestStrategy’.
Is this possible in gradle?
If so, how? and is it still possible if the backing store is a maven repository (sonatype nexus)?