How to make version range dependency on the snapshot? or get the latest snapshot version?


(Alan Lee) #1

what should i write if i want to obtain the latest snapshot version which should within the 2.0.0 to 2.X.X

dependencies{

compile “com.abc.asd:common:[2.0.0-3.0.0)-SNAPSHOT” }


(vladimir.ovod) #2

Looking at the same issue here. Any hints?


(Peter Niederwieser) #3

What’s the use case behind only wanting snapshots, rather than the snapshot or release with the highest version number? If you want the very latest snapshot or release, ‘latest.integration’ should work.