The Gant distribution upload code starts thus:

        configurations { distribution }
        
        artifacts {
          distributionTasks.each { task -> distribution ( task ) }
        }

distributionTasks is a list of tasks.  This works fine.  I am trying to
add the creation and uploading of debs to the build.  I therefore tried:

        configurations { debs }
        
        artifacts {
          debTasks.each { task -> debs ( task ) }
        }

where debTasks is a list of tasks.  This gives me the error:

        Cause: Notation is invalid for an artifact! Passed notation=task 
':standaloneDeb'

the error is associated with "debs ( task )".  I really do not
understand why this fails whilst "distribution ( task )" works.

Anyone any ideas?

Thanks.
-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[email protected]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [email protected]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

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

Reply via email to