On Tue, 2010-04-27 at 14:25 +1000, Adam Murdoch wrote:
> Another option is to use (group, moduleName, version, pluginId) as the
> fully qualified plugin identifier. Then, there is a natural mapping to
> determine the artifacts for the plugin - that is, use (group,
> moduleName, version).
> 
> A composite id also allows us to infer parts of the id that haven't
> been supplied. For example,
> 
> apply plugin: 'java'
> 
> could simply be shorthand for:
> 
> apply group: 'org.gradle', moduleName: 'plugins', version:
> gradle.gradleVersion, plugin: 'java'.
> 

Yes, I rather like that approach.  Maven uses this scheme too, so it
would be familiar to people coming from that background.

-- 
Jason Voegele
Life is like an analogy.


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

    http://xircles.codehaus.org/manage_email


Reply via email to