Hi Niclas,

It's not clear which you're having a problem with. Is it:

1) creating a zip with the contents you want,
2) uploading the zip?

For #1 I'd expect something like: (assuming my dependencies you meant
the runtime dependencies of your project)

task myZip(type:Zip) {
  into('lib') {
    from { runtime }
  }
}

For #2 look at section 34.2 of the manual (Artifacts and
Configurations). You'll want something like this:

artifacts {
    archives myZip
}

If you're using the Gradle 1.0 milestone 1 release then the
"application" plugin may be a lot cleaner.
 
Cheers.
Merlyn

On Sun, 2011-03-06 at 13:49 +0800, Niclas Hedhman wrote:
> I am just on the final step to be able to create a full release with
> Gradle, but something is stomping me on the last step.
> 
> The binary SDK is going to contain all the dependencies as well. And
> we want to do that as a 'maven repo' inside the zip file. But,
> uploadDefault will only upload artifacts that has been produced by the
> build. I can't figure out how to pull in all the runtime dependencies
> in that 'upload'.
> 
> Any ideas?
> 
> 
> Cheers



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to