Hi,
On Feb 26, 2009, at 2:33 PM, Hans Dockter wrote:
Hello,
we are working intensely on Gradle 0.6. One focus is to make our DSL
more intuitive. To achieve this we are improving the syntax of the
DSL as well as how the different elements play together.
Here is a link to the current draft of the new DSL:
http://docs.codehaus.org/display/GRADLE/Dependencies
We are very interested in your feedback.
Many thanks for all your feedback.
There is now a second draft:
http://docs.codehaus.org/display/GRADLE/Dependencies
There are still a couple of issues:
1.) Ivy uses (org, name, revision). Maven uses (group, name, version).
Gradle has its domain model, so it can use whatever is the most
expressive. In this case I like the Maven notation. So I propose that
Gradle uses (group, name, version) (as it does already in 0.5).
2.) In the 2nd draft there is only one repositories section. All
repositories declared in there will be used for resolving dependencies
and can be used for publishing. I think this corresponds to the most
common use case. If you don't want, that a repository is used for
resolving dependencies, this has to be declared explicitly.
3.) What about the Gradle 0.5 notation for declaring dependencies?
compile "junit:junit:4.4" (vs. compile group: 'junit', name: 'junit',
version: '4.4')
Should we remove it for 0.6?
Should we deprecate it but remove it in a later version?
Should we continue to support it as an alternative notation?
4.) A tiny issue: Should we say
repositories {
mavenCentral
}
or
repositories {
mavenCentral()
}
- Hans
--
Hans Dockter
Gradle Project lead
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email