On Feb 26, 2009, at 6:43 PM, Marcus Better wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hans Dockter wrote:

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.

I put some comments on the wiki page.

I have answered to your comments and have already adapted the DSL wiki page. For repositories we have the constraint that names are optional (as we have just figured out). I still would like to pick up the idea of using the classname of a resolver for declaring a repository. We could do it like this:

repositories {
// flatDir or mavenCentral are factory methods for a set of standard repositories. The name for a repository is optional
   mavenCentral
   flatDir(name: 'publishRepo', ...)

   // URLResolver is the name of the resolver class
   URLResolver {
         ...
   }

   URLResolver(url: 'url')
}

- Hans



Cheers,

Marcus

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkmm1KcACgkQXjXn6TzcAQmv9QCgmlrPVb+/k7N+CYe62NvaWbps
fUEAoKZsey7xyJdfbIEubbojRNqnu7in
=tgSz
-----END PGP SIGNATURE-----



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



--
Hans Dockter
Gradle Project lead
http://www.gradle.org





---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to