On Jul 13, 2009, at 2:34 PM, Jeppe Nejsum Madsen wrote:
Hi,
When running Maven you can use "-U" to update jars which are tracking
the version of some lib, ie. version is of the form 1-1-SNAPSHOT. Is
this possible with gradle?
It seems like at doesn't download updated jar files without removing
First it depends on the repository handler which you are using. If you
use for example:
repositories {
mavenCentral()
mavenRepo(...)
}
The above repository handler know about the Maven notion of SNAPSHOT
and will _always_ look for the newest snapshot. If they don't that
would be a bug and we would like to ask you to file a Jira.
There are other ways to get the latest revision of a specific
dependency.
dependencies {
compile "junit:junit:4.+"
}
To learn more about version ranges have a look at the ivy documentation:
http://ant.apache.org/ivy/history/2.1.0-rc1/ivyfile/dependency.html
Does the above solve your problems?
- Hans
--
Hans Dockter
Gradle Project Manager
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email