Gradle uses the terminlogy ( group , name , version ) to describe an
artifact.  In a Gradle script group is a settable binding variable and
version is a settable binding variable.  name however is not settable,
it is a read only binding variable.  This seems somewhat inconsistent.
In particular, I wanted to use group, name and version to specify these
attributes for my artifact:

        type = 'jar'
        group = 'org.devjavasoft'
        //  As as 2009-07-20 11:42:00+01:00 name is a read-only property :-(
        //name = 'ads'
        version = '3.2.0-SNAPSHOT'

but the comment explains it all.

Is there a reason why name is read-only.  Have I just missed the right
way of doing these things?

Thanks.

-- 
Russel.
=============================================================================
Dr Russel Winder      Partner
                                            xmpp: [email protected]
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   skype: russel_winder

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to