incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yennick Trevels <yennick.trev...@gmail.com>
Subject Re: [DECISION] Unit Testing and Mocking Frameworks
Date Mon, 13 Feb 2012 16:26:49 GMT
Well, my previous code example was just stupid,
project.configurations.merged.files is enough, no need for that loop
statement :D

On Mon, Feb 13, 2012 at 5:24 PM, Yennick Trevels
<yennick.trevels@gmail.com>wrote:

> Gradle works with configurations to group dependencies. For GradleFx we
> have the merged, internal, external, rsl and test configurations. You can
> do this to create a list of dependency files which are merged into the
> final swf:
>
> def mergedDependencyfiles = []
> project.configurations.merged.files.each { dependency ->
> mergedDependencyFiles.add(dependency);
> }
>
> so getting all those dependencies and adding them to a zip should be no
> problem. You've also got access to the Java API, which has classes to
> manipulate files, create zips etc.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message