Behaviour change: latest released version before gradle-1.12, latest snapshot now


(rupert THURNER) #1

gradle-1.12 seems to have changed the way it resolves artifacts from a maven repository. is this a regression?

dependencies {

classpath group: ‘com.us’, name: ‘gcPlugin’,

version: ‘1.+’

before gradle-1.12 it would take the latest released version, now it takes the latest version, snapshot as well.

if the behaviour is intended, how we would specify “take the latest released version” ?


(Peter Niederwieser) #2

AFAIK, this has been the case for much longer than before 1.12, and there is an open JIRA issue for it. The best way to express “latest release version” is ‘latest.release’.