On 6/04/10 8:38 PM, Rene Groeschke wrote:
Am Di, 6.04.2010, 11:45, schrieb Geronimo M. H.:
Hi Geronimo,
I think you're mixing copy and archive tasks.
try this one instead:
task myTask(type:Jar) {
def files = ... collect ...
from files
basename 'testArchive'
}
I'm not sure about the "from". I have something in mind, that the syntax
here was updated recently to "with" or something like that. it depends on
which gradle version you're working with.
It only changed to 'with' when the argument is a CopySpec. For
everything else, it's still 'from'
--
Adam Murdoch
Gradle Developer
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email