Great stuff!

Sent from my iPhone

On May 15, 2011, at 5:24 PM, Steven Dick <[email protected]> wrote:

> Yes, there's support for binary and project dependencies.  For example:
> 
> dependencies {
>     external files("${thirdPartyLibsDir}/robotlegs-framework-v1.4.0.swc", 
>                    "${thirdPartyLibsDir}/as3-signals-v0.8.swc",
>                    "${thirdPartyLibsDir}/multicolumnform.swc")
>     external project(path: ':signals-extensions-CommandSignal', 
> configuration: 'libraries')
>     external project(path: ':robotlegs-utilities-Modular', configuration: 
> 'libraries')
>     external project(path: ':HedgeSphereUtilities', configuration:     
> 'libraries')
>     external project(path: ':ModuleInterface', configuration: 'libraries')
> }
> 
> external, rsl and merge are supported as configurations, mapping onto Flex's 
> 3 types of dependencies.  The libraries configuration is used for publishing 
> the SWC artifact from a library project.
> 
> I will add an example to the GitHub repo in the near future demonstrating 
> this.
> 
> The goal is to have a convention-over-configuration approach, but with all 
> the settings overridable.
> 
> By convention the plugin will assume the Flex application MXML is the same 
> name as the project and in the default package.  The plugin will look for 
> src, test, assets and skin source-code directories.  For multi-project builds 
> you can publish all built artifacts with extracted SWFs from libraries + 
> generated HTML into a target directory.
> 
> On 16/05/2011 00:06, Ronen Narkis wrote:
>> 
>> Is there a support for dependencies? 
>> 
>> Ronen
>> 
>> On Mon, May 16, 2011 at 12:49 AM,           Steven Dick 
>> <[email protected]> wrote:
>> My company recently decided on using Flex 4 for our next generation product.
>> 
>> Given that I'm a firm believer in Continuous Integration and not being a
>> fan of Maven nor ANT, I thought I'd give Gradle a go.  And what a nice
>> decision that was.
>> 
>> No-one seems to have published much in the way of using Gradle to build
>> Flex, so I thought I would share what I've put together so far (with the
>> Apache 2.0 license).
>> 
>> I've published the plugin as a buildSrc project on GitHub:http://goo.gl/Mul9k
>> 
>> I've started to put together a set of examples as well:http://goo.gl/xQYt5
>> 
>> So far I've added a simple "Hello World" example of building a single
>> Flex application without any dependencies, but the plugin already
>> supports multi-project builds with binary and project dependencies.
>> 
>> I've also successfully combined using the Flex plugin with the WAR plugin to 
>> publish a Flex front-end with a Java back-end as a single WAR file.
>> 
>> Looking forward to building this out with the Flex and Gradle
>> communities' help.
>> 
>> Thanks
>> Steven Dick
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>> 
>>   http://xircles.codehaus.org/manage_email
>> 
>> 
>> 
> 

Reply via email to