On Jul 20, 2009, at 11:01 AM, Russel Winder wrote:
On Mon, 2009-07-20 at 10:09 +0200, Hans Dockter wrote:
[ . . . ]
dependencies {
compile "junit:junit:4.+"
}
Does this imply that:
dependencies {
compile "junit:junit:+"
}
gets the latest available?
Is there a "metric" for deciding whether:
compile "junit:junit:4.+"
is preferred or not compared to:
compile group : 'junit' , name : 'junit' , version : '4.+'
It is a matter of taste. But it also depends what you want to
configure. If you want to set a lot of properties of the dependency
you may prefer the map notation.
Is the Gradle philosophy to ignore parentheses wherever possible?
Is the Gradle preferred idiom to have multiple compile calls:
compile . . .
compile . . .
compile . . .
or to have a list to a single compile call:
compile [ . . . , . . . , . . . ]
I guess most of this is a matter of taste. We don't have a preferred
idiom.
- Hans
--
Hans Dockter
Gradle Project Manager
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email