Always get the latest build or snapshot
E.g. Can I use
dependencies {
compile(
[group: 'org.codehaus.jsr166-mirror', name: 'jsr166y', version: '+'],
[group: 'org.codehaus.jsr166-mirror', name: 'extra166y', version: '+'],
[group: 'org.codehaus.groovy', name: 'groovy-all', version: '+']
)
}
You can use the version string “latest.integration” to achieve this. This is a dynamic version that tells Gradle to use the very latest version of a dependency.
Note that for a maven repository, this feature requires that the list of all available versions is published in a maven-metadata.xml file.