task compileFlex and merged dependencies

Dimas Kotvan's Avatar

Dimas Kotvan

28 Oct, 2013 03:33 PM

Hello,

I'm including all the swc files as merged dependencies on my build file, like this:

dependencies {
    merged fileTree(dir: 'libs', include: '*.swc')
}

but in the build dir there are a lot of swz files and using the dump config flag I discovered that this merged dependencies are going to the -runtime-shared-library-path option instead of the -library-path option.

I'm a beginner with FLex and GradleFx, but reading the documentation I understood that he merged function would put all the files on the -library-path option. What I'm doing wrong?

Thanks,
Dimas

  1. Support Staff 1 Posted by Yennick Trevels on 28 Oct, 2013 06:55 PM

    Yennick Trevels's Avatar

    You're doing nothing wrong :-)
    Those are probably all Flex framework rsl libraries, which are related to how you link the framework in your application.
    Take a look at the frameworkLinkage property in GradleFx, which by default uses external linking (which reduces your swf size significantly)

    To see all possible values of the framework-linkage property, have a look here: http://doc.gradlefx.org/en/latest/properties_conventions.html#stand...

    For more information on framework linking and RSLs in Flex, have a look here: http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c...

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac