Problem build file .swf with gradleFX

quanhungbang's Avatar


28 Jan, 2016 10:13 AM

Error in image. Please help me resolve it. Thanks , anyone.

  1. 1 Posted by quanhungbang on 28 Jan, 2016 10:15 AM

    quanhungbang's Avatar


  2. 2 Posted by quanhungbang on 28 Jan, 2016 10:16 AM

    quanhungbang's Avatar


  3. Support Staff 3 Posted by Yennick Trevels on 31 Jan, 2016 05:09 PM

    Yennick Trevels's Avatar


    I don't think this is a GradleFx issue. Based on the error it looks like the same issue as described here:

  4. 4 Posted by quanhungbang on 02 Feb, 2016 04:34 AM

    quanhungbang's Avatar

    There are dependency in Maven:
    I want convert it to GradleFx, when build flex. I can't find : scope is caching in GradleFX. Docs GradleFX have scopes:

  5. Support Staff 5 Posted by Yennick Trevels on 02 Feb, 2016 07:43 AM

    Yennick Trevels's Avatar

    As I understand it the 'caching' scope in FlexMojos (Maven) is used for runtime shared libraries (RSLs). In GradleFx the 'rsl' configuration (or 'scope' as you call it) is meant for this. So instead of 'caching' you can probably use 'rsl' in GradleFx.

    Now I also see that you try to use the same Flex SDK dependencies as when using FlexMojos. GradleFx isn't really build to work with these Flex Framework dependencies as they were specifically created for FlexMojos.
    In GradleFx you can specify the Flex SDK in a slightly different way. See for more information on this.

    Once you've defined the Flex SDK like that you can define your rsl's relative to the 'flexHome' convention property, like this:

    afterEvaluate {
        dependencies {
            rsl files("${flexHome}/frameworks/libs/framework.swc")
  6. 6 Posted by quanhungbang on 02 Feb, 2016 08:37 AM

    quanhungbang's Avatar

    Thank you Yennick, I will review your good idea. Once again, thanks so much.

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


? 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