On Thu, 2010-07-08 at 13:01 +1000, Adam Murdoch wrote: [ . . . ] > >> You can only add archive tasks to a configuration. Otherwise, you have > >> to add the artifact manually. There's some detail in this thread: > >> http://markmail.org/thread/niseybxbjynckr2c [ . . . ]
I tried this example out but the achives call in the artifacts call
causes a failure, so the example as presented doesn't work for me with
current trunk:
artifacts {
debTasks.each {
archives ( new
org.gradle.api.internal.artifacts.publish.DefaultPublishArtifact ( "test" ,
"deb" , "deb" , null , new Date ( ) , file ( buildDir.path + '/gant.deb' ) ) )
}
}
leads to:
Cause: Could not find method archives() for arguments
[DefaultPublishArtifact test:deb:deb:null] on root project 'Gant'.
I guess something has changed in Trunk since Rene's example worked?
--
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
signature.asc
Description: This is a digitally signed message part
