On Tue, 2009-04-07 at 17:20 +0100, Russel Winder wrote: > On Tue, 2009-04-07 at 18:12 +0200, Hans Dockter wrote: > > On Apr 6, 2009, at 4:01 PM, Russel Winder wrote: > > > > > Sorry, wrong user list -- this should have gone to Gradle Users not > > > Groovy Users. > > > > > > On Mon, 2009-04-06 at 14:45 +0100, Russel Winder wrote: > > >> Using the Maven plugin, I find that the property "group" from the > > >> build.gradle file is used to specify the "groupId" of the artefact > > >> but > > >> that "artifact" does not specify the "artifactId" of the artefact. > > >> Isn't this a bit inconsistent? > > > > Well, Gradle has its own domain model and tries to use the terminology > > that it thinks is the best. Ivy uses (org,name,revision), maven uses > > (group,artifact,version). Gradle uses (group,name,version). And I > > think this makes sense, as name is the name of the project and not > > necessarily of the artifact(s). Although the artifact names often > > derive from the project name. Another difference to Maven is, that a > > Maven project has a one-one mapping between project and artifacts, > > whereas a Gradle project can have many artifacts. > > OK, that works for me. Is this actually spelled out in the user guide > and I just missed it by trying to skim it rather than read it?
Actually this doesn't actually work for me. If I try setting the name attribute in a build.gradle file after having included the Maven plugin, I get the message: Cause: Cannot set the value of read-only property 'name' on root project 'ADS'. -- Russel. ============================================================ Dr Russel Winder Partner Concertant LLP t: +44 20 7585 2200, +44 20 7193 9203 41 Buckmaster Road, f: +44 8700 516 084 voip: sip:[email protected] London SW11 1EN, UK. m: +44 7770 465 077 xmpp: [email protected]
signature.asc
Description: This is a digitally signed message part
