GradleFx/GradleFx — Issue #21: Project property for framework linkage
Author: RIAstar
Created: 2012-02-27 12:26:08+00:00
State: open

Add a Project property with which the developer can choose the Flex framework linkage (like you can do in FlashBuilder). Something along the lines of:

frameworkLinkage = 'external'
//or
frameworkLinkage = 'rsl'
//or
frameworkLinkage = 'merged'

Note that in FlashBuilder the default setting for this is 'external' for library projects and 'RSL' for application projects. The current situation in GradleFx is that it is always 'merged' by default.

A workaround for external linkage would be to use file based dependencies on the framework swcs, like this:

dependencies {
external fileTree(
dir: "${flexHome}frameworks/libs",
includes: ['*.swc']
)
}